aboutsummaryrefslogtreecommitdiff
path: root/gamemode/hud/games/connectthedots.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/hud/games/connectthedots.lua')
-rw-r--r--gamemode/hud/games/connectthedots.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/hud/games/connectthedots.lua b/gamemode/hud/games/connectthedots.lua
index fe6cef2..eab3521 100644
--- a/gamemode/hud/games/connectthedots.lua
+++ b/gamemode/hud/games/connectthedots.lua
@@ -112,7 +112,7 @@ Game.Draw = function(self)
--print("X:" .. gui.MouseX() .. " Y:" .. gui.MouseY())
if(input.IsMouseDown(MOUSE_RIGHT)) then
- self.Score = 100
+ self.Score = math.max(0,self.Score)
self.scoreboard:Remove()
end
end