mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-07 15:19:02 +00:00
Ports some sounds for toolbox/briefcase/switch (#21938)
This commit is contained in:
@@ -316,6 +316,7 @@ GLOBAL_LIST_INIT(conveyor_switches, list())
|
||||
|
||||
/obj/machinery/conveyor_switch/proc/toggle(mob/user)
|
||||
add_fingerprint(user)
|
||||
playsound(loc, 'sound/machines/switch.ogg', 10, TRUE)
|
||||
if(!allowed(user) && !user.can_advanced_admin_interact()) //this is in Para but not TG. I don't think there's any which are set anyway.
|
||||
to_chat(user, "<span class='warning'>Access denied.</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user