equal
deleted
inserted
replaced
167 function onParameters() |
167 function onParameters() |
168 parseParams() |
168 parseParams() |
169 if params["teamrope"] ~= nil then |
169 if params["teamrope"] ~= nil then |
170 TeamRope = true |
170 TeamRope = true |
171 end |
171 end |
|
172 if params["rounds"] ~= nil then |
|
173 roundLimit = math.max(1, math.floor(tonumber(params["rounds"]))) |
|
174 if type(roundLimit) ~= "number" then |
|
175 roundLimit = 3 |
|
176 end |
|
177 end |
172 end |
178 end |
173 |
179 |
174 function RebuildTeamInfo() |
180 function RebuildTeamInfo() |
175 |
181 |
176 |
182 |