mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
sanity check to the ATM qdel (#20009)
This commit is contained in:
@@ -124,6 +124,8 @@
|
||||
|
||||
///ensures proper GC of money account
|
||||
/obj/machinery/economy/atm/proc/clear_account()
|
||||
if(!authenticated_account) // In some situations there will be no authenticated account, such as removing your ID without inputting account information
|
||||
return
|
||||
UnregisterSignal(authenticated_account, COMSIG_PARENT_QDELETING)
|
||||
authenticated_account = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user