landsandboat/scripts/commands/gc_step.lua

19 lines
375 B
Lua

-----------------------------------
-- func: gc_step
-- desc: Tell Lua to run a garbage collection step
-- note: For testing only (GM level 5)
-----------------------------------
---@type TCommand
local commandObj = {}
commandObj.cmdprops =
{
permission = 5,
parameters = ''
}
commandObj.onTrigger = function(player)
GarbageCollectStep()
end
return commandObj