mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 08:14:52 +09:00
Allow faster game speeds (#306)
This commit is contained in:
1 parent
2cb33fc4b5
commit
8b30e64b35
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user