diff --git a/RLBotCS/ManagerTools/Rendering.cs b/RLBotCS/ManagerTools/Rendering.cs index 4fb9e1f..21e132b 100644 --- a/RLBotCS/ManagerTools/Rendering.cs +++ b/RLBotCS/ManagerTools/Rendering.cs @@ -87,7 +87,7 @@ private ushort SendRect2D(Rect2DT rect2Dt) var adjustedX = !rect2Dt.Centered && rect2Dt.Width < 0 ? rect2Dt.X - rect2Dt.Width : rect2Dt.X; var adjustedY = - !rect2Dt.Centered && rect2Dt.Height < 0 ? rect2Dt.Y - rect2Dt.Height : rect2Dt.X; + !rect2Dt.Centered && rect2Dt.Height < 0 ? rect2Dt.Y - rect2Dt.Height : rect2Dt.Y; // Fake a filled rectangle using a string with colored background var (text, scale) = MakeFakeRectangleString( diff --git a/RLBotCS/lib/Bridge.dll b/RLBotCS/lib/Bridge.dll index f1a9d42..8cc41ee 100644 Binary files a/RLBotCS/lib/Bridge.dll and b/RLBotCS/lib/Bridge.dll differ