8000 Fix default /exit delay · uramer/CoreScripts@a109a53 · GitHub
[go: up one dir, main page]

Skip to content

Commit a109a53

Browse files
committed
Fix default /exit delay
1 parent 7e921e2 commit a109a53

File tree

1 file changed

8000 +1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/defaultCommands.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ local exitWarning = function(delay)
352352
commandInfo(serverCommandHooks.pid, message, true, color.DarkRed .. message .. color.Default)
353353
end
354354
function defaultCommands.exit(pid, cmd)
355-
local delay = cmd[2] and tonumber(cmd[2]) or time.minutes(1)
355+
local delay = cmd[2] and tonumber(cmd[2]) or 1
356356
delay = time.minutes(delay)
357357

358358
local minTime = time.seconds(15)

0 commit comments

Comments
 (0)
0