From 8b30e64b35a375142b6248a5f9c0904f57b48e49 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 27 Jul 2024 01:06:08 +0900 Subject: [PATCH] Allow faster game speeds (#306) --- modules/commands/speed.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/speed.lua b/modules/commands/speed.lua index f313ee27..bf28664f 100644 --- a/modules/commands/speed.lua +++ b/modules/commands/speed.lua @@ -7,7 +7,7 @@ local Commands = require 'expcore.commands' --- @dep expcore.commands require 'config.expcore.command_general_parse' Commands.new_command('game-speed', 'Set game speed') -:add_param('amount', 'number-range', 0.2, 1) +:add_param('amount', 'number-range', 0.2, 8) :set_flag('admin_only') :register(function(player, amount) game.speed = math.round(amount, 3)