gamemode: Allow infinite rounds to be played

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2017-11-26 13:49:59 +01:00
parent 7f3ba60b40
commit dfdd8f82a3
@@ -32,7 +32,7 @@ function StatePostMatch:OnEnter(OldState)
-- Check Change map conditions.
if ((GAMEMODE.Config:TimeLimit() > 0) && ((CurTime() - GAMEMODE.Data.StartTime) >= (GAMEMODE.Config:TimeLimit() * 60))) -- Over Time
|| (GAMEMODE:GetRound() >= GAMEMODE.Config.Round:Limit()) -- Over Round Limit
|| ((GAMEMODE.Config.Round:Limit() > 0) && (GAMEMODE:GetRound() >= GAMEMODE.Config.Round:Limit())) -- Over Round Limit
then
-- Advance to nothing