Fix signs not working when Proceed button is pressed

Fix for https://github.com/luanti-org/minetest_game/issues/3193
This commit is contained in:
ZenonSeth 2025-05-27 00:07:42 +01:00 committed by GitHub
parent 838ad60ad0
commit 5b19b209d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2609,6 +2609,7 @@ local function register_sign(material, desc, def)
minetest.record_protection_violation(pos, player_name)
return
end
if not fields.quit then return end
local text = fields.text
if not text then
return