summaryrefslogtreecommitdiff
path: root/rat.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-10-09 15:16:05 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-10-09 15:16:05 +0100
commit0db8d4b2639ece8f913079cb6e5499354fb1a0a9 (patch)
tree88aa769021c0d52612b611f07e430ffee3edc989 /rat.lua
parent3b72ac1357dce4ce7bc7f05e3708c5c161abe0f9 (diff)
getpos to get_pos
Diffstat (limited to 'rat.lua')
-rw-r--r--rat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rat.lua b/rat.lua
index 31304eb..033a238 100644
--- a/rat.lua
+++ b/rat.lua
@@ -41,7 +41,7 @@ mobs:register_mob("mobs_animal:rat", {
self.rat_timer = 0
- local pos = self.object:getpos()
+ local pos = self.object:get_pos()
print("rat pos", pos.x, pos.y, pos.z, dtime)