[MIRROR] Revert "Revert "/tg/ preference datums part 1: take two"" (#8929)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-09-14 03:30:15 -07:00
committed by GitHub
parent a8318eb241
commit 2986497a43
204 changed files with 5174 additions and 2371 deletions

View File

@@ -67,7 +67,7 @@
winset(client, "tgui_say", "pos=410,400;size=360,30;is-visible=0;")
window.send_message("props", list(
lightMode = client.is_preference_enabled(/datum/client_preference/tgui_say_light),
lightMode = client?.prefs?.read_preference(/datum/preference/toggle/tgui_say_light),
maxLength = max_length,
))