From e205ae36270d8c9438668f2c5a22ed9380b159c7 Mon Sep 17 00:00:00 2001 From: wixoa Date: Tue, 21 Jan 2025 16:39:07 -0500 Subject: [PATCH] Use the color arg when drawing a font character in world space (#5626) --- Robust.Client/Graphics/Font.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust.Client/Graphics/Font.cs b/Robust.Client/Graphics/Font.cs index c714bb6d4..da627769c 100644 --- a/Robust.Client/Graphics/Font.cs +++ b/Robust.Client/Graphics/Font.cs @@ -133,7 +133,7 @@ namespace Robust.Client.Graphics baseline += new Vector2(metrics.Value.BearingX, -metrics.Value.BearingY); if(handle is DrawingHandleWorld worldhandle) - worldhandle.DrawTextureRect(texture, Box2.FromDimensions(baseline, texture.Size)); + worldhandle.DrawTextureRect(texture, Box2.FromDimensions(baseline, texture.Size), color); else handle.DrawTexture(texture, baseline, color); return metrics.Value.Advance;