Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
gamemode: Allow infinite rounds to be played
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Nov 26, 2017
1 parent 7f3ba60 commit dfdd8f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfdd8f8

Please sign in to comment.