summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-03-21 09:43:02 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-03-21 09:43:02 +0000
commit20f8183316502ac07bc1de46e01fef9056fdeb64 (patch)
treeda16a135ee1af452203d86bc9b67ece73c90902c
parentc2ecb8321e372cdd521ab4a2f4972170233dca3d (diff)
Fix variable nil default
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index c51b679..ab0476b 100644
--- a/api.lua
+++ b/api.lua
@@ -1,5 +1,5 @@
--- Mobs Api (18th March 2017)
+-- Mobs Api (21st March 2017)
mobs = {}
mobs.mod = "redo"
@@ -2440,7 +2440,7 @@ minetest.register_entity(name, {
dogshoot_switch = def.dogshoot_switch,
dogshoot_count = 0,
dogshoot_count_max = def.dogshoot_count_max or 5,
- dogshoot_count2_max = def.dogshoot_count2_max,
+ dogshoot_count2_max = def.dogshoot_count2_max or 5,
attack_animals = def.attack_animals or false,
specific_attack = def.specific_attack,