mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user