NPC: Fix small bug due to actions API change

This commit is contained in:
zorman2000
2017-01-19 21:31:40 -05:00
parent 5d2c820d88
commit 7c3801a5ce
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ function npc.lock_actions(self)
pos.y = self.object:getpos().y
end
-- Stop NPC
npc.actions.stand({pos=pos})
npc.actions.stand(self, {pos=pos})
-- Avoid all timer execution
self.actions.action_timer_lock = true
-- Reset timer so that it has some time after interaction is done