Overlay stack sorting fix (#36103)

* round float before sorting

* weh
This commit is contained in:
Errant 2025-03-26 21:40:13 +01:00 committed by deltanedas
parent 767757838b
commit 0d3b39493f
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}