wires this code to the PROPER prefs

This commit is contained in:
LetterN
2021-11-14 09:23:08 +08:00
parent 8b16653744
commit eb98848a9f
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -24,6 +24,6 @@
set desc = "Toggles hover-over item outline"
set category = "Preferences"
prefs.itemoutline_pref = !prefs.itemoutline_pref
prefs.outline_enabled = !prefs.outline_enabled
prefs.save_preferences()
to_chat(usr, "<span class='danger'>Item outline [prefs.itemoutline_pref ? "en" : "dis"]abled.</span>")