mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
[MIRROR] Fixes a harddel when destroying disposal component linked objects (#12337)
Co-authored-by: Reo Lozzot <84661000+ReoDaProtovali@users.noreply.github.com>
This commit is contained in:
co-authored by
Reo Lozzot
parent
3af1456c53
commit
14f7384ce0
@@ -59,6 +59,7 @@
|
||||
SIGNAL_HANDLER
|
||||
SHOULD_NOT_OVERRIDE(TRUE)
|
||||
if(connected_trunk)
|
||||
connected_trunk.linked = null
|
||||
UnregisterSignal(connected_trunk, COMSIG_DISPOSAL_SEND)
|
||||
connected_trunk = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user