From: Errant <35878406+Errant-4@users.noreply.github.com> Date: Wed, 26 Mar 2025 20:40:13 +0000 (+0100) Subject: Overlay stack sorting fix (#36103) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e4a5043d4e3f781df551c2dd8d4f9e6b41884929;p=space-station-14.git Overlay stack sorting fix (#36103) * round float before sorting * weh --- 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)); }