Skip to content
Snippets Groups Projects
Commit 8aa76659 authored by DarkGod's avatar DarkGod
Browse files

plop

parent 2f657538
No related branches found
No related tags found
No related merge requests found
......@@ -1646,7 +1646,7 @@ It has been kept somewhat intact with layers of salt and clay, but in spite of t
-- Go through all spell effects
for eff_id, p in pairs(target.tmp) do
local e = target.tempeffect_def[eff_id]
if e.subtype.pin or e.subtype.stun then
if e and (e.subtype.pin or e.subtype.stun) then
effs[#effs+1] = {"effect", eff_id}
num = 1
end
......
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