forked from mtcontrib/mobs_redo
tweak knockback
This commit is contained in:
parent
5b7348b869
commit
6816158e87
10
api.lua
10
api.lua
@ -1,9 +1,9 @@
|
||||
|
||||
-- Mobs Api (15th September 2017)
|
||||
-- Mobs Api (17th September 2017)
|
||||
|
||||
mobs = {}
|
||||
mobs.mod = "redo"
|
||||
mobs.version = "20170915"
|
||||
mobs.version = "20170917"
|
||||
|
||||
|
||||
-- Intllib
|
||||
@ -17,7 +17,7 @@ local use_cmi = minetest.global_exists("cmi")
|
||||
|
||||
-- Invisibility mod check
|
||||
mobs.invis = {}
|
||||
if rawget(_G, "invisibility") then
|
||||
if minetest.global_exists("invisibility") then
|
||||
mobs.invis = invisibility
|
||||
end
|
||||
|
||||
@ -2547,10 +2547,6 @@ local mob_step = function(self, dtime)
|
||||
|
||||
self.pause_timer = self.pause_timer - dtime
|
||||
|
||||
if self.pause_timer < 1 then
|
||||
self.pause_timer = 0
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user