Skip to content

Commit

Permalink
Medlink restocking requires the machine to be operable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Apr 22, 2024
1 parent bfdc7f3 commit 06cf054
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/machinery/vending/vendor_types/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@
if(!get_supply_link())
STOP_PROCESSING(SSslowobj, src)
return // Somehow we lost our link
if(inoperable())
return
if(world.time - SSticker.mode.round_time_lobby > 20 MINUTES)
restock_supplies()
restock_reagents()
Expand Down

0 comments on commit 06cf054

Please sign in to comment.