fix morlu velocity
This commit is contained in:
parent
d553997b3d
commit
02c57725c2
@ -73,7 +73,7 @@ mobs:register_mob("nssm:morlu", {
|
||||
self.state = ""
|
||||
mobs:set_animation(self, "run")
|
||||
self.object:setyaw(self.dir)
|
||||
set_velocity(self, 4)
|
||||
self:set_velocity(4)
|
||||
|
||||
if os.time() - self.morlu_timer > 3 then
|
||||
self.flag = 0
|
||||
@ -193,7 +193,7 @@ mobs:register_mob("nssm:morlu", {
|
||||
self.dir = pyaw
|
||||
self.object:setyaw(pyaw)
|
||||
if self then
|
||||
set_velocity(self, 4)
|
||||
self:set_velocity(4)
|
||||
end
|
||||
end
|
||||
end,self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user