diff --git a/SpeedControl_1.0.21/control.lua b/SpeedControl_1.0.21/control.lua index cd6051c..4d91aaa 100644 --- a/SpeedControl_1.0.21/control.lua +++ b/SpeedControl_1.0.21/control.lua @@ -70,7 +70,7 @@ script.on_event(defines.events, function(event) end) function speed(adjust) - game.speed = math.clamp(game.speed + adjust, 0.5, 10) + game.speed = math.clamp(game.speed + adjust, 0.1, 10) for playerIndex, player in pairs(game.players) do if player.gui.top.decrease then @@ -143,4 +143,4 @@ script.on_event("decrease", function(event) return speed(-0.1) end) script.on_event("decrease1", function(event) return speed(-1) end) script.on_event("increase1", function(event) return speed(1) end) script.on_event("increase", function(event) return speed(0.1) end) -script.on_event("increase2", function(event) return speed(0.01) end) \ No newline at end of file +script.on_event("increase2", function(event) return speed(0.01) end)