From e4a5043d4e3f781df551c2dd8d4f9e6b41884929 Mon Sep 17 00:00:00 2001 From: Errant <35878406+Errant-4@users.noreply.github.com> Date: Wed, 26 Mar 2025 21:40:13 +0100 Subject: [PATCH] Overlay stack sorting fix (#36103) * round float before sorting * weh --- Content.Client/Administration/AdminNameOverlay.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Administration/AdminNameOverlay.cs b/Content.Client/Administration/AdminNameOverlay.cs index 9fb93e926c..c0f31f1e3d 100644 --- a/Content.Client/Administration/AdminNameOverlay.cs +++ b/Content.Client/Administration/AdminNameOverlay.cs @@ -95,7 +95,7 @@ internal sealed class AdminNameOverlay : Overlay continue; // Get on-screen coordinates of player - var screenCoordinates = _eyeManager.WorldToScreen(aabb.Center); + var screenCoordinates = _eyeManager.WorldToScreen(aabb.Center).Rounded(); sortable.Add((info, aabb, entity.Value, screenCoordinates)); } -- 2.51.2