rott/kf_sources/KFPatcher/Classes/stub_Rule.uc
2026-07-14 20:27:09 +07:00

14 lines
328 B
Ucode

class stub_Rule extends GameRules;
// no map switch if we leave from lobby
function bool CheckEndGame(PlayerReplicationInfo Winner, string Reason)
{
if (Level.Game.IsInState('PendingMatch'))
return false;
if (NextGameRules != none)
return NextGameRules.CheckEndGame(Winner, Reason);
return true;
}