Makes it possible to have more than 16 preferences

This commit is contained in:
Yoshax
2016-03-21 18:56:27 +00:00
parent 996ce92f7f
commit 5d9596a72d
34 changed files with 305 additions and 310 deletions

View File

@@ -157,7 +157,7 @@ var/const/FALLOFF_SOUNDS = 0.5
/client/proc/playtitlemusic()
if(!ticker || !ticker.login_music) return
if(prefs.toggles & SOUND_LOBBY)
if(is_preference_enabled(/datum/client_preference/play_lobby_music))
src << sound(ticker.login_music, repeat = 0, wait = 0, volume = 85, channel = 1) // MAD JAMS
/proc/get_rand_frequency()