diff --git a/builtin/game/chatcommands.lua b/builtin/game/chatcommands.lua index 0b1976640..4deff281d 100644 --- a/builtin/game/chatcommands.lua +++ b/builtin/game/chatcommands.lua @@ -859,7 +859,7 @@ core.register_chatcommand("clearobjects", { description = "clear all objects in world", privs = {server=true}, func = function(name, param) - options = {} + local options = {} if param == "" or param == "full" then options.mode = "full" elseif param == "quick" then