mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fix some runtimes (#33402)
* runtimes * Update switchtool.dm * Update cargo.dm * this isn't even compiled * Update robot.dm * Update headset.dm * Update apc.dm * Update components.dm * Update ai.dm * Update robot.dm
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
/obj/item/device/radio/headset/talk_into(datum/speech/speech_orig, channel=null)
|
||||
if(!broadcasting)
|
||||
return
|
||||
if(usr.client && usr.client.prefs.headset_sound)
|
||||
if(usr?.client?.prefs.headset_sound)
|
||||
playsound(usr, 'sound/effects/radio_chatter.ogg', 100, 1, vary = 0)
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user