stops code from seeping into ic chat (#56088)

changes the reference in the modular computer code from src to computer as src is a datum
This commit is contained in:
spessbro
2021-01-11 12:44:16 -05:00
committed by GitHub
parent be987fc667
commit 54c6a93d75

View File

@@ -159,7 +159,7 @@
computer.visible_message("<span class='notice'>\The [computer] prints out paper.</span>")
if(ticket_count >= 1)
new /obj/item/stack/arcadeticket((get_turf(computer)), 1)
to_chat(usr, "<span class='notice'>[src] dispenses a ticket!</span>")
to_chat(usr, "<span class='notice'>[computer] dispenses a ticket!</span>")
ticket_count -= 1
printer.stored_paper -= 1
else