Config option for lobby music

This commit is contained in:
Markolie
2015-09-23 06:53:28 +02:00
parent d4a3537e75
commit 793b86b286
3 changed files with 12 additions and 4 deletions
+6 -1
View File
@@ -163,6 +163,8 @@
var/disable_away_missions = 0 // disable away missions
var/autoconvert_notes = 0 //if all connecting player's notes should attempt to be converted to the database
var/disable_lobby_music = 0 // Disables the lobby music
/datum/configuration/New()
var/list/L = subtypesof(/datum/game_mode)
@@ -525,7 +527,10 @@
config.disable_away_missions = 1
if("autoconvert_notes")
config.autoconvert_notes = 1
config.autoconvert_notes = 1
if("disable_lobby_music")
config.disable_lobby_music = 1
else
diary << "Unknown setting in configuration: '[name]'"
+1 -1
View File
@@ -95,7 +95,7 @@ var/const/FALLOFF_SOUNDS = 0.5
src << S
/client/proc/playtitlemusic()
if(!ticker || !ticker.login_music) return
if(!ticker || !ticker.login_music || config.disable_lobby_music) return
if(prefs.sound & SOUND_LOBBY)
src << sound(ticker.login_music, repeat = 0, wait = 0, volume = 85, channel = 1) // MAD JAMS
+5 -2
View File
@@ -290,5 +290,8 @@ PLAYER_REROUTE_CAP 0
## Disable the loading of away missions
#DISABLE_AWAY_MISSIONS
## Uncomment this out if you still use the old .sav file based notes system and haven't used the mass conversion proc
#AUTOCONVERT_NOTES
## Uncomment this if you still use the old .sav file based notes system and haven't used the mass conversion proc
#AUTOCONVERT_NOTES
## Uncomment this if you want to disable the lobby music
#DISABLE_LOBBY_MUSIC