From 6cbeec56900c23e8c5eade950160ccc8b1965809 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sat, 6 Mar 2021 18:17:28 +0300 Subject: [PATCH] weekly fix --- MskGs/Classes/MskGs_WeeklySurvival.uc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/MskGs/Classes/MskGs_WeeklySurvival.uc b/MskGs/Classes/MskGs_WeeklySurvival.uc index 2c7da7f..274e4de 100644 --- a/MskGs/Classes/MskGs_WeeklySurvival.uc +++ b/MskGs/Classes/MskGs_WeeklySurvival.uc @@ -104,6 +104,21 @@ function UpdateGameSettings() } } +function EndOfMatch(bool bVictory) +{ + local KFPlayerController KFPC; + + super.EndOfMatch(bVictory); + + if (bVictory) + { + foreach WorldInfo.AllControllers(class'KFPlayerController', KFPC) + { + KFPC.ClientCompletedWeeklySurvival(); + } + } +} + defaultproperties { bIsCustomGame=False