mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Stops vending machines from runtiming when broken (#63888)
* fix * review
This commit is contained in:
@@ -518,6 +518,8 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
|
||||
///Tilts ontop of the atom supplied, if crit is true some extra shit can happen. Returns TRUE if it dealt damage to something.
|
||||
/obj/machinery/vending/proc/tilt(atom/fatty, crit=FALSE)
|
||||
if(QDELETED(src))
|
||||
return
|
||||
visible_message(span_danger("[src] tips over!"))
|
||||
tilted = TRUE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
|
||||
Reference in New Issue
Block a user