summaryrefslogtreecommitdiff
path: root/waypoints.lua
diff options
context:
space:
mode:
Diffstat (limited to 'waypoints.lua')
-rw-r--r--waypoints.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoints.lua b/waypoints.lua
index 062814d..94f9f11 100644
--- a/waypoints.lua
+++ b/waypoints.lua
@@ -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