1
0
Fork 0

[5.6] remove incorrect marks.

wrong, bad. these are fine.
This commit is contained in:
iliekprogrammar 2022-08-07 13:00:43 +08:00
parent 156aff21a1
commit 0e999d8bb9
No known key found for this signature in database
GPG Key ID: 8E7B20514DBCFBFA
1 changed files with 0 additions and 2 deletions

View File

@ -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