mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 09:31:30 +00:00
Alter playsound paradigm
This commit is contained in:
@@ -160,11 +160,11 @@
|
||||
if(W.is_crowbar())
|
||||
if(opened)
|
||||
to_chat(user, "<spawn class='notice'>You tightly shut \the [src] door.")
|
||||
playsound(src.loc, 'sound/effects/locker_close.ogg', 25, 0, -3)
|
||||
playsound(src, 'sound/effects/locker_close.ogg', 25, 0, -3)
|
||||
opened = 0
|
||||
else
|
||||
to_chat(user, "<spawn class='notice'>You open up \the [src] door.")
|
||||
playsound(src.loc, 'sound/effects/locker_open.ogg', 15, 1, -3)
|
||||
playsound(src, 'sound/effects/locker_open.ogg', 15, 1, -3)
|
||||
opened = 1
|
||||
else if(istype(W,/obj/item/weapon/tank))
|
||||
if(!opened)
|
||||
|
||||
Reference in New Issue
Block a user