mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-29 04:00:24 +01:00
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
|
if fields["rename_waypoint"..i] then
|
||||||
hit = true
|
hit = true
|
||||||
waypoints[i] = waypoints[i] or {}
|
temp[i] = temp[i] or {}
|
||||||
temp[i].edit = true
|
temp[i].edit = true
|
||||||
update_formspec = true
|
update_formspec = true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user