From dfdd8f82a3a692d6be9c28947462390ffab6e9c6 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 26 Nov 2017 13:49:59 +0100 Subject: [PATCH] gamemode: Allow infinite rounds to be played --- .../prophuntextended/gamemode/server/states/state_postmatch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gamemodes/prophuntextended/gamemode/server/states/state_postmatch.lua b/source/gamemodes/prophuntextended/gamemode/server/states/state_postmatch.lua index 4f9312f..ac32d6d 100644 --- a/source/gamemodes/prophuntextended/gamemode/server/states/state_postmatch.lua +++ b/source/gamemodes/prophuntextended/gamemode/server/states/state_postmatch.lua @@ -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