diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-09-17 21:11:50 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-09-17 21:11:50 +0100 |
commit | 6816158e8789104f2407b01677354904422c9025 (patch) | |
tree | 9765fac79153e0c3b40858ff5ebd5663e78f14ec | |
parent | 5b7348b8690179cf52315228b39ab56df340738e (diff) |
tweak knockback
-rw-r--r-- | api.lua | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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 |