mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Alter playsound paradigm
This commit is contained in:
@@ -175,7 +175,7 @@ obj/aiming_overlay/proc/update_aiming_deferred()
|
||||
aiming_with = thing
|
||||
aiming_at = target
|
||||
if(istype(aiming_with, /obj/item/weapon/gun))
|
||||
playsound(get_turf(owner), 'sound/weapons/TargetOn.ogg', 50,1)
|
||||
playsound(owner, 'sound/weapons/TargetOn.ogg', 50,1)
|
||||
forceMove(get_turf(target))
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -215,7 +215,7 @@ obj/aiming_overlay/proc/update_aiming_deferred()
|
||||
if(!aiming_with || !aiming_at)
|
||||
return
|
||||
if(istype(aiming_with, /obj/item/weapon/gun))
|
||||
playsound(get_turf(owner), 'sound/weapons/TargetOff.ogg', 50,1)
|
||||
playsound(owner, 'sound/weapons/TargetOff.ogg', 50,1)
|
||||
if(!no_message)
|
||||
owner.visible_message("<span class='notice'>\The [owner] lowers \the [aiming_with].</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user