Skip to content

Commit

Permalink
Fixes a callback qdeletion during acid component deletion (tgstation#…
Browse files Browse the repository at this point in the history
…78536)

## About The Pull Request

Title summarizes all.

## Why It's Good For The Game

callback qdel bad runtime good

## Changelog

nothing playerfacing lets be real
  • Loading branch information
distributivgesetz authored Sep 26, 2023
1 parent 517d33e commit 5ae576d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/datums/components/acid.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ GLOBAL_DATUM_INIT(acid_overlay, /mutable_appearance, mutable_appearance('icons/e
QDEL_NULL(sizzle)
if(particle_effect)
QDEL_NULL(particle_effect)
if(process_effect)
QDEL_NULL(process_effect)
process_effect = null
return ..()

/datum/component/acid/RegisterWithParent()
Expand Down

0 comments on commit 5ae576d

Please sign in to comment.