From e275a65c914d2eab748ffccc2adef4e147dae17c Mon Sep 17 00:00:00 2001 From: Aranclanos Date: Sat, 23 May 2015 06:34:23 -0300 Subject: [PATCH] Moved stopLobbySound() from code/modules/mob/mob.dm to code/game/sound.dm --- code/game/sound.dm | 3 +++ code/modules/mob/mob.dm | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/sound.dm b/code/game/sound.dm index 14aace39369..eb52a808f35 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -78,6 +78,9 @@ return ..() +/mob/proc/stopLobbySound() + src << sound(null, repeat = 0, wait = 0, volume = 85, channel = 1) + /client/proc/playtitlemusic() if(!ticker || !ticker.login_music) return if(prefs.toggles & SOUND_LOBBY) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 5f3e2e05fe7..c5d468e9ae9 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -964,7 +964,4 @@ var/list/slot_equipment_priority = list( \ spell.action.background_icon_state = spell.action_background_icon_state if(isliving(src)) spell.action.Grant(src) - return - -/mob/proc/stopLobbySound() - src << sound(null, repeat = 0, wait = 0, volume = 85, channel = 1) \ No newline at end of file + return \ No newline at end of file