Add files via upload

master
TheTermos 2019-10-27 16:23:35 +01:00 committed by GitHub
parent 7225c23f0b
commit 56595ddb85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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