diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-03-26 20:29:34 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-03-26 20:29:34 +0100 |
commit | e1f7453ee52c280af7c243cbe6290d14b692a0d4 (patch) | |
tree | 9ef6b1286f7ba0b47717f9335c474f225793cdb0 | |
parent | a37e38da6071146947e3d1ecc087725846bbd1b4 (diff) |
tidy code
-rw-r--r-- | api.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ --- Mobs Api (24th March 2017) +-- Mobs Api (26th March 2017) mobs = {} mobs.mod = "redo" @@ -2442,7 +2442,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 or dogshoot_count_max, + dogshoot_count2_max = def.dogshoot_count2_max or (def.dogshoot_count_max or 5), attack_animals = def.attack_animals or false, specific_attack = def.specific_attack, |