mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
improved a qdel warning message (#28003)
* warning -> stack_trace * Even better
This commit is contained in:
@@ -244,11 +244,10 @@ List of hard deletions:"}
|
||||
return
|
||||
|
||||
if(istype(D, /atom) && !istype(D, /atom/movable))
|
||||
warning("qdel() passed object of type [D.type]. qdel() cannot handle unmovable atoms.")
|
||||
del(D)
|
||||
SSgarbage.hard_dels++
|
||||
SSgarbage.dels_count++
|
||||
return
|
||||
CRASH("qdel() passed object of type [D.type]. qdel() cannot handle unmovable atoms.")
|
||||
|
||||
if(isnull(D.gcDestroyed))
|
||||
// Let our friend know they're about to get fucked up.
|
||||
|
||||
Reference in New Issue
Block a user