1
0
mirror of https://github.com/minetest-mods/unified_inventory.git synced 2025-06-22 03:20:29 +02:00

Fix crash when changing waypoint name

This commit is contained in:
ShadowNinja 2014-09-07 15:08:52 -04:00
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