diff options
author | Wuzzy <almikes@aol.com> | 2016-07-24 14:01:29 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-07-24 14:01:29 +0200 |
commit | d2b2e01710c95cab93fb886bc8f2d42caa76b1c0 (patch) | |
tree | d84d175498975cb32421670f22cbcbc08078dd9f /init.lua | |
parent | 6f2518a5e35cd8e8bdc501275a316cf5f9265d56 (diff) |
Fix crash in entry tab under conditions
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -161,6 +161,7 @@ function doc.process_form(player,formname,fields) local formspec = doc.formspec_core(2)..doc.formspec_category(id, playername) doc.data.players[playername].catsel = nil doc.data.players[playername].category = id + doc.data.players[playername].entry = nil minetest.show_formspec(playername, "doc:category", formspec) break end |