From 56595ddb85e5ca330f5189bf06e2c0aaffad3172 Mon Sep 17 00:00:00 2001 From: TheTermos <55103816+TheTermos@users.noreply.github.com> Date: Sun, 27 Oct 2019 16:23:35 +0100 Subject: [PATCH] Add files via upload --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 7f62350..ea27ef4 100644 --- a/init.lua +++ b/init.lua @@ -844,6 +844,7 @@ end function mobkit.actfunc(self, staticdata, dtime_s) self.logic = self.logic or self.brainfunc + self.physics = self.physics or mobkit.physics self.lqueue = {} self.hqueue = {} @@ -908,11 +909,11 @@ function mobkit.stepfunc(self,dtime) -- not intended to be modified self.isonground = false end - mobkit.physics(self) + self:physics(self) if self.logic then if self.view_range then self:sensefunc() end - self:logic() + self:logic(self) execute_queues(self) end