Fixes: crash vector in ban gui

ensure ban gui page arrows are always cleared to prevent server crashing if they are clicked without the context that triggered their appearance
master
shivajiva101 2021-12-11 17:18:26 +00:00 committed by GitHub
parent bb9710c6bb
commit 96eb4f4cb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1669,6 +1669,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
end
fs.info = str
fs.index = -1
fs.multi = false
minetest.show_formspec(name, FORMNAME, getformspec(name))
elseif fields.plist then