This commit is contained in:
GenZmeY 2021-10-17 06:35:32 +03:00
parent dd5201ea2b
commit ef2bfda4e9
2 changed files with 1 additions and 26 deletions

View File

@ -97,8 +97,7 @@ function WarnKicker(PlayerReplicationInfo PRI_Kickee, PlayerReplicationInfo PRI_
if (!IsKickerWarned(KFPC_Kicker)) if (!IsKickerWarned(KFPC_Kicker))
{ {
KickWarningList.AddItem(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, PRI_Kicker.PlayerName@"tried to kick"@PRI_Kickee.PlayerName$". If he tries to do it again, the hand of God will punish him");
WorldInfo.Game.Broadcast(KFPC_Kicker, "If he tries to do it again, the hand of God will punish him");
} }
} }

View File

@ -112,30 +112,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 defaultproperties
{ {
bIsCustomGame=False bIsCustomGame=False