Fixes runtime when breaking a moneybot without money (#96474)

## About The Pull Request

holochip w/ 0 credits

## Why It's Good For The Game

Runtime

## Changelog
🆑

fix: fixed a runtime when breaking a moneybot without money

/🆑
This commit is contained in:
Leland Kemble
2026-06-14 01:36:00 -04:00
committed by GitHub
parent c636988cf3
commit 98edacce96
+2 -1
View File
@@ -16,7 +16,8 @@
var/locked = FALSE
/obj/structure/money_bot/atom_deconstruct(disassembled = TRUE)
new /obj/item/holochip(drop_location(), stored_money)
if(stored_money)
new /obj/item/holochip(drop_location(), stored_money)
/obj/structure/money_bot/proc/add_money(to_add)
stored_money += to_add