Merge pull request #32585 from Qbopper/turnitdown

adjusted default internet song volume to 25
This commit is contained in:
Jordan Brown
2017-11-12 13:52:14 -05:00
committed by CitadelStationBot
parent ef700ef8d7
commit de54b1cdd8
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
var/cookieSent = FALSE // Has the client sent a cookie for analysis
var/broken = FALSE
var/list/connectionHistory //Contains the connection history passed from chat cookie
var/adminMusicVolume = 100 //This is for the Play Global Sound verb
var/adminMusicVolume = 25 //This is for the Play Global Sound verb
/datum/chatOutput/New(client/C)
owner = C
@@ -65,6 +65,8 @@ var opts = {
'volumeUpdateDelay': 5000, //Time from when the volume updates to data being sent to the server
'volumeUpdating': false, //True if volume update function set to fire
'updatedVolume': 0, //The volume level that is sent to the server
'defaultMusicVolume': 25,
};
@@ -604,6 +606,8 @@ $(function() {
opts.updatedVolume = newVolume;
sendVolumeUpdate();
internalOutput('<span class="internal boldnshit">Loaded music volume of: '+savedConfig.smusicVolume+'</span>', 'internal');
} else {
$('#adminMusic').prop('volume', opts.defaultMusicVolume);
}
(function() {