[5.6] remove incorrect marks.
wrong, bad. these are fine.
This commit is contained in:
parent
156aff21a1
commit
0e999d8bb9
|
@ -337,13 +337,11 @@ local function trace_explode(pos, strength, raydirs, radius, info, direct, sourc
|
|||
if not obj:is_player() then
|
||||
return
|
||||
end
|
||||
-- ERROR: [#2523] THIS WILL CAUSE INVALID OBJECTREFS
|
||||
mcl_util.deal_damage(obj, damage, {type = "explosion", direct = direct, source = source})
|
||||
|
||||
obj:add_velocity(vector.multiply(punch_dir, impact * 20))
|
||||
end)
|
||||
else
|
||||
-- ERROR: [#2523] THIS WILL CAUSE INVALID OBJECTREFS
|
||||
mcl_util.deal_damage(obj, damage, {type = "explosion", direct = direct, source = source})
|
||||
|
||||
if obj:is_player() or ent.tnt_knockback then
|
||||
|
|
Loading…
Reference in New Issue