bugfix
authorRealBadAngel <mk@realbadangel.pl>
Sun, 17 Mar 2013 06:13:10 +0000 (07:13 +0100)
committerRealBadAngel <mk@realbadangel.pl>
Sun, 17 Mar 2013 06:13:10 +0000 (07:13 +0100)
stargate/stargate_gui.lua

index 14d5671dc19f7c607a4bf816c9944f23dccbc1ea..9046e537d1dac5f97022d7c4027f350e62d25489 100644 (file)
@@ -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)