summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2014-01-28 00:56:15 +0100
committerSokomine <wegwerf@anarres.dyndns.org>2014-01-28 00:56:15 +0100
commit2c9fe6cb869b1d7e753e734717b44b9efb4dce84 (patch)
tree83759d4b726e5e57b2a1de86d896ec69f687664d
parent2edda7a9f998a921770ffe47c4b7f96112af1f46 (diff)
bugfix
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index ca80465..a21c913 100644
--- a/init.lua
+++ b/init.lua
@@ -335,6 +335,7 @@ markers.get_marker_formspec = function(player, pos, error_msg)
for i=1,3 do
if(not( ((n-i) == opposite )
+ or not(markers.positions[ name ][ n-i ] )
or ( markers.positions[ name ][ n-i ].x == coords[ 1 ].x
and markers.positions[ name ][ n-i ].z == coords[ 2 ].z )
or ( markers.positions[ name ][ n-i ].x == coords[ 2 ].x