Skip to content

Commit 5e28562

Browse files
authored
Merge pull request #16 from Mistgun/fix-isrange-typo
fixed typo on isrange (comparing posz with posz )
2 parents b04e3dd + 4b67486 commit 5e28562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LucasTerra.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4170,7 +4170,7 @@ end
41704170
function isrange(x,y)
41714171
x = x or 1
41724172
y = y or 1
4173-
return $posx <= $wptx+x and $posx >= $wptx and $posy <= $wpty+y and $posy >= $wpty and $posz == $posz
4173+
return $posx <= $wptx+x and $posx >= $wptx and $posy <= $wpty+y and $posy >= $wpty and $posz == $wptz
41744174
end
41754175

41764176
-- @name isposition

0 commit comments

Comments
 (0)