share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 11990 b2783dd12f30
parent 11989 ad38e2c7ab12
child 11991 f97b1c7fa053
equal deleted inserted replaced
11989:ad38e2c7ab12 11990:b2783dd12f30
   189              roundLimit = 3
   189              roundLimit = 3
   190         end
   190         end
   191     end
   191     end
   192     if params["waypointradius"] ~= nil then
   192     if params["waypointradius"] ~= nil then
   193         wpRad = math.max(40, math.floor(tonumber(params["waypointradius"])))
   193         wpRad = math.max(40, math.floor(tonumber(params["waypointradius"])))
   194         if type(roundLimit) ~= "number" then
   194         if type(wpRad) ~= "number" then
   195              wpRad = 450
   195              wpRad = 450
   196         end
   196         end
   197     end
   197     end
   198 end
   198 end
   199 
   199