Skip to content
Snippets Groups Projects
Commit 42220e8e authored by DarkGod's avatar DarkGod
Browse files

Fix Temporal Fugue on traps

parent fbf21bb9
No related branches found
No related tags found
1 merge request!248More fixes
......@@ -2545,7 +2545,7 @@ newEffect{
parameters = { power=10 },
decrease = 0,
callbackOnTakeDamage = function(self, eff, src, x, y, type, dam, state)
if src ~= self and src:hasEffect(src.EFF_TEMPORAL_FUGUE) then
if src ~= self and src.hasEffect and src:hasEffect(src.EFF_TEMPORAL_FUGUE) then
-- Find our clones
for i = 1, #eff.targets do
local target = eff.targets[i]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment