From dfd478b2e8786b98882e09d89139f9eaa9252770 Mon Sep 17 00:00:00 2001
From: RealBadAngel <mk@realbadangel.pl>
Date: Wed, 17 Jul 2013 21:18:02 +0200
Subject: [PATCH] remove debug code

---
 stargate/stargate_gui.lua |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stargate/stargate_gui.lua b/stargate/stargate_gui.lua
index 14d5671..f96d48a 100644
--- a/stargate/stargate_gui.lua
+++ b/stargate/stargate_gui.lua
@@ -181,7 +181,7 @@
 	local temp_gate=stargate_network["players"][player_name]["temp_gate"]
 	local formspec = "size[14,10]"
 	--background
-	formspec = formspec .."background[-0.19,-0.2,;14.38,10.55;ui_form_bg.png]"
+	formspec = formspec .."background[-0.19,-0.2;14.38,10.55;ui_form_bg.png]"
 	formspec = formspec.."label[0,0.0;Stargate DHD]"
 	formspec = formspec.."label[0,.5;Position: ("..temp_gate["pos"].x..","..temp_gate["pos"].y..","..temp_gate["pos"].z..")]"
 	formspec = formspec.."image_button[3.5,.6;.6,.6;toggle_icon.png;toggle_type;]"
@@ -364,7 +364,7 @@
 		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)

--
Gitblit v1.8.0