diff --git a/code/modules/economy/economy_machinery/atm.dm b/code/modules/economy/economy_machinery/atm.dm index 20aff703b0b..dbe7dac0f0a 100644 --- a/code/modules/economy/economy_machinery/atm.dm +++ b/code/modules/economy/economy_machinery/atm.dm @@ -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