diff --git a/sources/Packages.uc b/sources/Packages.uc index 05a2cb6..91cd66a 100644 --- a/sources/Packages.uc +++ b/sources/Packages.uc @@ -41,6 +41,7 @@ var private config bool useGameModes; var VotingHandlerAdapter votingAdapter; var Mutator_OnMutate_Signal onMutateSignal; +var Mutator_OnModifyLogin_Signal onModifyLoginSignal; var Mutator_OnCheckReplacement_Signal onCheckReplacementSignal; var private LoggerAPI.Definition infoFeatureEnabled; @@ -154,6 +155,8 @@ private function SetupMutatorSignals() service = UnrealService(class'UnrealService'.static.Require()); onMutateSignal = Mutator_OnMutate_Signal( service.GetSignal(class'Mutator_OnMutate_Signal')); + onModifyLoginSignal = Mutator_OnModifyLogin_Signal( + service.GetSignal(class'Mutator_OnModifyLogin_Signal')); onCheckReplacementSignal = Mutator_OnCheckReplacement_Signal( service.GetSignal(class'Mutator_OnCheckReplacement_Signal')); } @@ -177,6 +180,14 @@ function Mutate(string command, PlayerController sendingController) super.Mutate(command, sendingController); } +function ModifyLogin(out string portal, out string options) +{ + if (onModifyLoginSignal != none) { + onModifyLoginSignal.Emit(portal, options); + } + super.ModifyLogin(portal, options); +} + defaultproperties { useGameModes = false