diff options
author | Ben Deutsch <ben@bendeutsch.de> | 2016-08-02 21:36:34 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-08-10 12:18:25 +0200 |
commit | 82494b8cc199fb92248c6c30ce7ef18b7e7133ae (patch) | |
tree | 651de3a5c07ebbe75321621c04b07ae0728d46a8 /builtin/game | |
parent | d1df09841d0eac7a88f638676b80ec848522cca5 (diff) | |
download | minetest-82494b8cc199fb92248c6c30ce7ef18b7e7133ae.tar.gz minetest-82494b8cc199fb92248c6c30ce7ef18b7e7133ae.tar.bz2 minetest-82494b8cc199fb92248c6c30ce7ef18b7e7133ae.zip |
Zooming the camera requires the 'zoom' privilege
Diffstat (limited to 'builtin/game')
-rw-r--r-- | builtin/game/privileges.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua index 5838b9374..05c79440c 100644 --- a/builtin/game/privileges.lua +++ b/builtin/game/privileges.lua @@ -54,4 +54,8 @@ core.register_privilege("noclip", { give_to_singleplayer = false, }) core.register_privilege("rollback", "Can use the rollback functionality") +core.register_privilege("zoom", { + description = "Can zoom the camera", + give_to_singleplayer = false, +}) |