Fixed whoopie in the Hide UserNames setting

This commit is contained in:
EvilFactory
2023-12-14 13:05:35 -03:00
parent b8d238618f
commit a846ff2ea5
@@ -69,10 +69,10 @@ namespace Barotrauma
} }
}; };
new GUITickBox(new RectTransform(new Vector2(0.8f, 0.1f), list.Content.RectTransform), "Hide UserNames In Error Logs") new GUITickBox(new RectTransform(new Vector2(0.8f, 0.1f), list.Content.RectTransform), "Hide usernames In Error Logs")
{ {
Selected = GameMain.LuaCs.Config.DisableErrorGUIOverlay, Selected = GameMain.LuaCs.Config.HideUserNames,
ToolTip = "", ToolTip = "Hides the operating system username when displaying error logs (eg your username on windows).",
OnSelected = (GUITickBox tick) => OnSelected = (GUITickBox tick) =>
{ {
GameMain.LuaCs.Config.HideUserNames = tick.Selected; GameMain.LuaCs.Config.HideUserNames = tick.Selected;