diff options
Diffstat (limited to 'gamemode/hud')
| -rw-r--r-- | gamemode/hud/games/connectthedots.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gamemode/hud/games/connectthedots.lua b/gamemode/hud/games/connectthedots.lua index e0d496d..d0e00b8 100644 --- a/gamemode/hud/games/connectthedots.lua +++ b/gamemode/hud/games/connectthedots.lua @@ -54,7 +54,7 @@ Game.AddRegDot = function(self) --Find the angles that we will add outselves between for k,v in pairs(fd[2]) do if(position > v[1]) then - position += v[2]-v[1] + position = position + v[2] - v[1] end end print("Adding new dot at an angle of " .. position) @@ -65,7 +65,7 @@ Game.AddRegDot = function(self) --If we're in the first quadrent if(math.cos(position) > 0) then rand = math.random(fd[0],ScrW()) - + end end |
