summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-09-17 21:11:50 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-09-17 21:11:50 +0100
commit6816158e8789104f2407b01677354904422c9025 (patch)
tree9765fac79153e0c3b40858ff5ebd5663e78f14ec
parent5b7348b8690179cf52315228b39ab56df340738e (diff)
tweak knockback
-rw-r--r--api.lua10
1 files changed, 3 insertions, 7 deletions
diff --git a/api.lua b/api.lua
index 6c7c730..cc761a0 100644
--- a/api.lua
+++ b/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