fix supply console BSOD (#29384)

This commit is contained in:
warriorstar-orion
2025-06-02 18:47:15 +00:00
committed by GitHub
parent 7fa2648ab3
commit bf27083c53
+1 -2
View File
@@ -27,10 +27,9 @@
orderedbyaccount = account
RegisterSignal(orderedbyaccount, COMSIG_PARENT_QDELETING, PROC_REF(clear_request))
/// Clear the request from the request list and delete it
/// Clear the request from the request list so it's not permanently stuck in the console
/datum/supply_order/proc/clear_request()
SSeconomy.request_list -= src
qdel(src)
/datum/supply_order/proc/createObject(atom/_loc, errors = 0)
if(!object)