Files
Bubberstation/code/modules/vending
SkyratBot c74fd9aebf [MIRROR] Fixes the cops not being called when minors try to purchase cigarettes from vending machines. [MDB IGNORE] (#19027)
Fixes the cops not being called when minors try to purchase cigarettes from vending machines. (#73008)

radios in nullspace are bad.
```
[2023-01-08 15:10:45.804] runtime error: Cannot read null.z
 - proc name: New (/datum/signal/subspace/vocal/New)
 -   source file: broadcasting.dm,122
 -   usr: Ilya Volyova (/mob/living/carbon/human)
 -   src: /datum/signal/subspace/vocal (/datum/signal/subspace/vocal)
 -   usr.loc: the floor (131,87,2) (/turf/open/floor/iron)
 -   call stack:
 - /datum/signal/subspace/vocal (/datum/signal/subspace/vocal): New(the station bounced radio (/obj/item/radio), 1359, The ShadyCigs Deluxe (/atom/movable/virtualspeaker), /datum/language/common (/datum/language/common), "SECURITY ALERT: Underaged crew...", /list (/list), null)
 - the station bounced radio (/obj/item/radio): talk into impl(the ShadyCigs Deluxe (/obj/machinery/vending/cigarette), "SECURITY ALERT: Underaged crew...", null, /list (/list), /datum/language/common (/datum/language/common), null)
 - world: ImmediateInvokeAsync(the station bounced radio (/obj/item/radio), /obj/item/radio/proc/talk_into... (/obj/item/radio/proc/talk_into_impl), the ShadyCigs Deluxe (/obj/machinery/vending/cigarette), "SECURITY ALERT: Underaged crew...", 1359, /list (/list), /datum/language/common (/datum/language/common), null)
 - the station bounced radio (/obj/item/radio): talk into(the ShadyCigs Deluxe (/obj/machinery/vending/cigarette), "SECURITY ALERT: Underaged crew...", 1359, /list (/list), /datum/language/common (/datum/language/common), null)
 - the ShadyCigs Deluxe (/obj/machinery/vending/cigarette): vend(/list (/list), null)
 - the ShadyCigs Deluxe (/obj/machinery/vending/cigarette): ui act("vend", /list (/list), /datum/tgui (/datum/tgui), /datum/ui_state/default (/datum/ui_state/default))
 - /datum/tgui (/datum/tgui): on act message("vend", /list (/list), /datum/ui_state/default (/datum/ui_state/default))
 - /datum/callback/verb_callback (/datum/callback/verb_callback): InvokeAsync()
 - /datum/tgui (/datum/tgui): on message("act/vend", /list (/list), /list (/list))
 - /datum/tgui_window (/datum/tgui_window): on message("act/vend", /list (/list), /list (/list))
 - tgui Topic(/list (/list))
 - Ilya Volyova (/client): Topic("type=act%2Fvend&payload=%7B%22...", /list (/list), null)
```
🆑 ShizCalev
fix: Fixed the cops not being called when minors try to purchase
cigarettes from vending machines.
/🆑

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2023-01-31 02:14:59 +00:00
..