Update code/modules/vending/_vending.dm

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
spookydonut
2020-04-12 00:53:57 +08:00
committed by GitHub
parent 230e5fca20
commit a6f6a27c87
+3 -2
View File
@@ -634,8 +634,9 @@ GLOBAL_LIST_EMPTY(vending_products)
coin = null
return
if("togglevoice" && panel_open)
shut_up = !shut_up
if("togglevoice")
if(panel_open)
shut_up = !shut_up
/obj/machinery/vending/process()
if(stat & (BROKEN|NOPOWER))