summaryrefslogtreecommitdiff
path: root/pos.lua
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-07-12 16:37:54 -0400
committerShadowNinja <shadowninja@minetest.net>2014-07-12 16:37:54 -0400
commite17cda925b7ab7d3d586ed1c40c591854704d770 (patch)
tree09fb9de01e475713eb9332e0d338e3a161d730be /pos.lua
parentee212466bfb6f19bc30a1c9f0b591f733ee30450 (diff)
Add canInteractInArea
Diffstat (limited to 'pos.lua')
-rw-r--r--pos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pos.lua b/pos.lua
index e4f2d25..40f8360 100644
--- a/pos.lua
+++ b/pos.lua
@@ -168,7 +168,7 @@ end)
-- Modifies positions `pos1` and `pos2` so that each component of `pos1`
-- is less than or equal to its corresponding component of `pos2`,
--- returning two new positions
+-- returning the two positions.
function areas:sortPos(pos1, pos2)
if pos1.x > pos2.x then
pos2.x, pos1.x = pos1.x, pos2.x