forked from minetest-mods/unified_inventory
Fix crash when changing waypoint name
This commit is contained in:
parent
527812fa96
commit
4fce317e2e
@ -184,7 +184,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
|
||||
if fields["rename_waypoint"..i] then
|
||||
hit = true
|
||||
waypoints[i] = waypoints[i] or {}
|
||||
temp[i] = temp[i] or {}
|
||||
temp[i].edit = true
|
||||
update_formspec = true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user