summaryrefslogtreecommitdiff
path: root/stargate
diff options
context:
space:
mode:
Diffstat (limited to 'stargate')
-rw-r--r--stargate/stargate_gui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/stargate/stargate_gui.lua b/stargate/stargate_gui.lua
index 14d5671..9046e53 100644
--- a/stargate/stargate_gui.lua
+++ b/stargate/stargate_gui.lua
@@ -364,7 +364,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
infotext=infotext.." Gate: "..current_gate["description"].."\n"
infotext=infotext.."Owned by "..player_name.."\n"
if current_gate["destination"] then
- infotext=infotext.."Destination: ("..current_gate["pos"].x..","..current_gate["pos"].y..","..current_gate["pos"].z..") "
+ infotext=infotext.."Destination: ("..current_gate["destination"].x..","..current_gate["destination"].y..","..current_gate["destination"].z..") "
infotext=infotext..current_gate["destination_description"]
end
meta:set_string("infotext",infotext)