Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Source/Client/Windows/DesyncedWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Multiplayer.Client.Desyncs;
using Multiplayer.Client.Util;
using Multiplayer.Common;
using UnityEngine;
using Verse;

Expand Down Expand Up @@ -41,7 +42,9 @@ public override void DoWindowContents(Rect inRect)
Text.Font = GameFont.Small;

Text.Anchor = TextAnchor.UpperCenter;
Widgets.Label(new Rect(0, 0, inRect.width, 40), $"{"MpDesynced".Translate()}\n{text}");
var label = "MpDesynced".Translate();
if (MpVersion.IsDebug || Prefs.DevMode) label += "\n" + text;
Widgets.Label(new Rect(0, 0, inRect.width, 40), label);
Text.Anchor = TextAnchor.UpperLeft;

var buttonsRect = new Rect((inRect.width - ButtonsWidth) / 2, 40, ButtonsWidth, 35);
Expand Down
Loading