From ef2bfda4e9698f2b5f59c01d13f11187b45122cf Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 17 Oct 2021 06:35:32 +0300 Subject: [PATCH] fix --- MskGs/Classes/MskGsVoteCollector.uc | 3 +-- MskGs/Classes/MskGs_Endless.uc | 24 ------------------------ 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/MskGs/Classes/MskGsVoteCollector.uc b/MskGs/Classes/MskGsVoteCollector.uc index bb50c78..e64b8da 100644 --- a/MskGs/Classes/MskGsVoteCollector.uc +++ b/MskGs/Classes/MskGsVoteCollector.uc @@ -97,8 +97,7 @@ function WarnKicker(PlayerReplicationInfo PRI_Kickee, PlayerReplicationInfo PRI_ if (!IsKickerWarned(KFPC_Kicker)) { KickWarningList.AddItem(KFPC_Kicker); - WorldInfo.Game.Broadcast(KFPC_Kicker, PRI_Kicker.PlayerName@"tried to kick"@PRI_Kickee.PlayerName); - WorldInfo.Game.Broadcast(KFPC_Kicker, "If he tries to do it again, the hand of God will punish him"); + WorldInfo.Game.Broadcast(KFPC_Kicker, PRI_Kicker.PlayerName@"tried to kick"@PRI_Kickee.PlayerName$". If he tries to do it again, the hand of God will punish him"); } } diff --git a/MskGs/Classes/MskGs_Endless.uc b/MskGs/Classes/MskGs_Endless.uc index 7053364..431f399 100644 --- a/MskGs/Classes/MskGs_Endless.uc +++ b/MskGs/Classes/MskGs_Endless.uc @@ -111,30 +111,6 @@ function UpdateGameSettings() } } } - -function WaveEnded(EWaveEndCondition WinCondition) -{ - if(!bWaveStarted && !MyKFGRI.bTraderIsOpen) - return; - - WaveMax = WaveNum + 2; - MyKFGRI.WaveMax = WaveMax; - - if(KFGameReplicationInfo_Endless(GameReplicationInfo).CurrentWeeklyMode != INDEX_NONE) - { - EndOutbreakRound(); - } - bUseSpecialWave = false; - - KFGameReplicationInfo_Endless(GameReplicationInfo).CurrentWeeklyMode = INDEX_NONE; - KFGameReplicationInfo_Endless(GameReplicationInfo).CurrentSpecialMode = INDEX_NONE; - - HellOnEarthPlusRoundIncrement(); - - Super(KFGameInfo_Survival).WaveEnded(WinCondition); - - TrySetNextWaveSpecial(); -} defaultproperties {