Fixes portal runtime and maybe fixes synthsong runtime

This commit is contained in:
Heroman
2022-09-04 06:06:34 +10:00
parent 49e90b3a60
commit 526b66eee4
2 changed files with 5 additions and 4 deletions
@@ -141,8 +141,8 @@
if(dead)
channels_playing -= channel
channels_idle += channel
for(var/mob/M as anything in hearing_mobs)
for(var/mob/M in hearing_mobs)
M.stop_sound_channel(channelnumber)
else
for(var/mob/M as anything in hearing_mobs)
for(var/mob/M in hearing_mobs)
M.set_sound_channel_volume(channelnumber, (current_volume * 0.01) * volume * using_instrument.volume_multiplier)