[mobs_goblins] Add patch for "goblin_traps.lua".
This commit is contained in:
parent
0ab5298099
commit
ce9d71a529
11
patches/mod-mobs_goblins__goblin_traps.lua.diff
Normal file
11
patches/mod-mobs_goblins__goblin_traps.lua.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- goblin_traps.lua.orig 2016-08-12 10:48:42.000000000 -0700
|
||||
+++ goblin_traps.lua 2016-08-12 10:49:07.683792914 -0700
|
||||
@@ -318,6 +318,8 @@
|
||||
else
|
||||
print("enable_tnt ~= true")
|
||||
end
|
||||
+
|
||||
+local singleplayer = minetest.is_singleplayer()
|
||||
if (not singleplayer and setting ~= true) or (singleplayer and setting == false) then
|
||||
-- wimpier trap for non-tnt settings
|
||||
minetest.register_abm({
|
Loading…
x
Reference in New Issue
Block a user