From f6d626db67ada50f83e0aab60c6939e5de9ed6dd Mon Sep 17 00:00:00 2001 From: Atermonera Date: Wed, 25 Mar 2020 13:37:22 -0700 Subject: [PATCH 1/2] Fix runtime in sound.dm: playsound(): source is an area (#6895) --- code/game/turfs/simulated/wall_attacks.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/wall_attacks.dm b/code/game/turfs/simulated/wall_attacks.dm index f9ae1e7bc3b..1ef11c40ded 100644 --- a/code/game/turfs/simulated/wall_attacks.dm +++ b/code/game/turfs/simulated/wall_attacks.dm @@ -232,7 +232,7 @@ if(WT.remove_fuel(0,user)) to_chat(user, "You start repairing the damage to [src].") - playsound(src.loc, WT.usesound, 100, 1) + playsound(src, WT.usesound, 100, 1) if(do_after(user, max(5, damage / 5) * WT.toolspeed) && WT && WT.isOn()) to_chat(user, "You finish repairing the damage to [src].") take_damage(-damage)