aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-02-28 19:55:24 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-02-28 19:55:24 +0200
commitb3f4cbe15751dfbe6066211a809a56741a18627a (patch)
treea21303ca3c3346382850099a4bfbe6bcc4ea2f88
parentd0491ce8b6f12228083989bf8819d2da6642e3b6 (diff)
downloadminetest-b3f4cbe15751dfbe6066211a809a56741a18627a.tar.gz
minetest-b3f4cbe15751dfbe6066211a809a56741a18627a.tar.bz2
minetest-b3f4cbe15751dfbe6066211a809a56741a18627a.zip
Fix pointed.thing.ref -> pointed_thing.ref in builtin.lua
-rw-r--r--data/builtin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/builtin.lua b/data/builtin.lua
index b8891c066..eba5b429e 100644
--- a/data/builtin.lua
+++ b/data/builtin.lua
@@ -106,7 +106,7 @@ function minetest.get_pointed_thing_position(pointed_thing, above)
return pointed_thing.under
end
elseif pointed_thing.type == "object" then
- obj = pointed.thing.ref
+ obj = pointed_thing.ref
if obj ~= nil then
return obj:getpos()
else