temp fix of radio icons
This commit is contained in:
parent
64a6aaa76b
commit
13cc38b490
4 changed files with 5 additions and 3 deletions
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<!-- Graphics -->
|
||||
<Label Text="{Loc 'ui-options-sunrise-general-graphics'}" StyleClasses="LabelKeyText"/>
|
||||
<CheckBox Name="ChatIconsEnableCheckBox" Text="{Loc 'ui-options-chat-icons-enable'}" />
|
||||
<!-- <CheckBox Name="ChatIconsEnableCheckBox" Text="{Loc 'ui-options-chat-icons-enable'}" /> -->
|
||||
<CheckBox Name="ChatPointingVisualsEnableCheckBox" Text="{Loc 'ui-options-chat-pointing-visuals-enable'}" />
|
||||
|
||||
</BoxContainer>
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ public sealed partial class ExtraTab : Control
|
|||
Control.AddOptionCheckBox(SunriseCCVars.DamageOverlaySelf, DamageOverlaySelfCheckBox);
|
||||
Control.AddOptionCheckBox(SunriseCCVars.DamageOverlayStructures, DamageOverlayStructuresCheckBox);
|
||||
|
||||
Control.AddOptionCheckBox(SunriseCCVars.ChatIconsEnable, ChatIconsEnableCheckBox);
|
||||
// Control.AddOptionCheckBox(SunriseCCVars.ChatIconsEnable, ChatIconsEnableCheckBox);
|
||||
Control.AddOptionCheckBox(SunriseCCVars.ChatPointingVisuals, ChatPointingVisualsEnableCheckBox);
|
||||
|
||||
Control.Initialize();
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
using Content.Shared._Sunrise.SunriseCCVars;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Shared.Configuration;
|
||||
using Robust.Shared.Configuration;
|
||||
|
||||
namespace Content.Client._Sunrise.ChatIcons;
|
||||
|
||||
|
|
@ -14,6 +15,7 @@ public sealed class ChatIconsSystem : EntitySystem
|
|||
{
|
||||
base.Initialize();
|
||||
|
||||
_cfg.SetCVar("chat_icon.enable", false, true); // Sunrise TEMP FIX REMOVE
|
||||
_cfg.OnValueChanged(SunriseCCVars.ChatIconsEnable, OnRadioIconsChanged, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -432,7 +432,7 @@ public sealed partial class SunriseCCVars : CVars
|
|||
*/
|
||||
|
||||
public static readonly CVarDef<bool> ChatIconsEnable =
|
||||
CVarDef.Create("chat_icon.enable", true, CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||
CVarDef.Create("chat_icon.enable", false, CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||
|
||||
/*
|
||||
* Pointing chat visuals
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue