diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-07-17 20:28:42 +0200 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-07-17 20:28:42 +0200 |
commit | 79858dca5e5c5293ffa3b3ba050ed94293cc0e27 (patch) | |
tree | ba4f6f310d9cc8e69fec9a34b36d20ff0a040cbe /stargate/stargate_gui.lua | |
parent | 2ef1bb7e46a81ad759e03949c17abedec7445b2d (diff) |
- Fix teleportation: now it teleports player to side of the gate player was lookin at when placing.
- Teleportation handles now player look yaw.
- Fix to a bug in gates formspec.
Diffstat (limited to 'stargate/stargate_gui.lua')
-rw-r--r-- | stargate/stargate_gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stargate/stargate_gui.lua b/stargate/stargate_gui.lua index 9046e53..f96d48a 100644 --- a/stargate/stargate_gui.lua +++ b/stargate/stargate_gui.lua @@ -181,7 +181,7 @@ stargate.get_formspec = function(player_name,page) 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;]" |