Fix an annoying thing nobody else will

This commit is contained in:
Aronai Sieyes
2021-08-04 17:15:17 -04:00
parent dcb3214f4b
commit 5f982a3d44
+2 -3
View File
@@ -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