mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-11-19 22:03:43 +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
|
||||
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