From 5f982a3d4453e8a3aff1a7b00853958ffc4e00b5 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Wed, 4 Aug 2021 17:15:17 -0400 Subject: [PATCH] Fix an annoying thing nobody else will --- code/game/sound.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/game/sound.dm b/code/game/sound.dm index ce4c33d37b1..32eabbca4ed 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -1,8 +1,7 @@ /proc/playsound(atom/source, soundin, vol as num, vary, extrarange as num, falloff, is_global, frequency = null, channel = 0, pressure_affected = TRUE, ignore_walls = TRUE, preference = null, volume_channel = null) - if(isarea(source)) - throw EXCEPTION("playsound(): source is an area") + if(Master.current_runlevel < RUNLEVEL_LOBBY) return - + var/turf/turf_source = get_turf(source) if(!turf_source) return