summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-12 11:42:35 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-12 11:42:35 +0000
commit006f18c5c102638c56fa88e77eda566ebe6db872 (patch)
tree55b78da0e372096dbbb58a951bc002c5ce588d19
parent609d52100cd61f038981779b4644dc20092bc934 (diff)
change vars always resulting in true
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index 529228a..c8b5479 100644
--- a/api.lua
+++ b/api.lua
@@ -2910,8 +2910,8 @@ minetest.register_entity(name, {
explosion_radius = def.explosion_radius,
explosion_damage_radius = def.explosion_damage_radius,
explosion_timer = def.explosion_timer or 3,
- allow_fuse_reset = def.allow_fuse_reset or true,
- stop_to_explode = def.stop_to_explode or true,
+ allow_fuse_reset = def.allow_fuse_reset ~= false,
+ stop_to_explode = def.stop_to_explode ~= false,
custom_attack = def.custom_attack,
double_melee_attack = def.double_melee_attack,
dogshoot_switch = def.dogshoot_switch,