diff options
Diffstat (limited to 'builtin/game/privileges.lua')
-rw-r--r-- | builtin/game/privileges.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua index d77a481ac..c7417d2f4 100644 --- a/builtin/game/privileges.lua +++ b/builtin/game/privileges.lua @@ -18,7 +18,7 @@ function core.register_privilege(name, param) def.description = "(no description)" end end - local def = {} + local def if type(param) == "table" then def = param else |