diff --git a/sources/Unreal/GameRulesAPI/GameRulesAPI.uc b/sources/Unreal/GameRulesAPI/GameRulesAPI.uc index 97d2b54..9ae4533 100644 --- a/sources/Unreal/GameRulesAPI/GameRulesAPI.uc +++ b/sources/Unreal/GameRulesAPI/GameRulesAPI.uc @@ -1,7 +1,7 @@ /** * Low-level API that provides set of utility methods for working with * `GameRule`s. - * Copyright 2021 Anton Tarasenko + * Copyright 2021-2022 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. * @@ -94,7 +94,7 @@ public final function GameRules_OnCheckEndGame_Slot OnCheckEndGame( local Signal signal; local UnrealService service; service = UnrealService(class'UnrealService'.static.Require()); - signal = service.GetSignal(class'GameRules_OnHandleRestartGame_Signal'); + signal = service.GetSignal(class'GameRules_OnCheckEndGame_Signal'); return GameRules_OnCheckEndGame_Slot(signal.NewSlot(receiver)); } diff --git a/sources/Unreal/UnrealService.uc b/sources/Unreal/UnrealService.uc index 24e53f1..55efee3 100644 --- a/sources/Unreal/UnrealService.uc +++ b/sources/Unreal/UnrealService.uc @@ -1,7 +1,7 @@ /** * Service for the needs of `UnrealAPI`. Mainly tasked with creating API's * `Signal`s. - * Copyright 2021 Anton Tarasenko + * Copyright 2021-2022 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. * @@ -112,12 +112,14 @@ defaultproperties serviceSignals(3) = (signalClass=class'GameRules_OnCheckScore_Signal') serviceSignals(4) = (signalClass=class'GameRules_OnOverridePickupQuery_Signal') serviceSignals(5) = (signalClass=class'GameRules_OnNetDamage_Signal') - serviceSignals(6) = (signalClass=class'Broadcast_OnBroadcastCheck_Signal') - serviceSignals(7) = (signalClass=class'Broadcast_OnHandleLocalized_Signal') - serviceSignals(8) = (signalClass=class'Broadcast_OnHandleLocalizedFor_Signal') - serviceSignals(9) = (signalClass=class'Broadcast_OnHandleText_Signal') - serviceSignals(10) = (signalClass=class'Broadcast_OnHandleTextFor_Signal') - serviceSignals(11) = (signalClass=class'Mutator_OnCheckReplacement_Signal') - serviceSignals(12) = (signalClass=class'Mutator_OnMutate_Signal') - serviceSignals(13) = (signalClass=class'Mutator_OnModifyLogin_Signal') + serviceSignals(6) = (signalClass=class'GameRules_OnPreventDeath_Signal') + serviceSignals(7) = (signalClass=class'GameRules_OnScoreKill_Signal') + serviceSignals(8) = (signalClass=class'Broadcast_OnBroadcastCheck_Signal') + serviceSignals(9) = (signalClass=class'Broadcast_OnHandleLocalized_Signal') + serviceSignals(10) = (signalClass=class'Broadcast_OnHandleLocalizedFor_Signal') + serviceSignals(11) = (signalClass=class'Broadcast_OnHandleText_Signal') + serviceSignals(12) = (signalClass=class'Broadcast_OnHandleTextFor_Signal') + serviceSignals(13) = (signalClass=class'Mutator_OnCheckReplacement_Signal') + serviceSignals(14) = (signalClass=class'Mutator_OnMutate_Signal') + serviceSignals(15) = (signalClass=class'Mutator_OnModifyLogin_Signal') } \ No newline at end of file