Fixes Sound/Debug Preferences

This commit is contained in:
Fox-McCloud
2016-06-30 10:57:58 -04:00
parent 7e9ff08ceb
commit 2df7ff16d8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -186,9 +186,9 @@
set name = "Hear/Silence Instruments"
set category = "Preferences"
set desc = "Toggles hearing musical instruments like the violin and piano"
prefs.toggles ^= SOUND_INSTRUMENTS
prefs.sound ^= SOUND_INSTRUMENTS
prefs.save_preferences(src)
if(prefs.toggles & SOUND_INSTRUMENTS)
if(prefs.sound & SOUND_INSTRUMENTS)
to_chat(src, "You will now hear people playing musical instruments.")
else
to_chat(src, "You will no longer hear musical instruments.")