diff --git a/OpenDreamClient/Rendering/DreamIcon.cs b/OpenDreamClient/Rendering/DreamIcon.cs index ce1cf602ae..fc3be2d189 100644 --- a/OpenDreamClient/Rendering/DreamIcon.cs +++ b/OpenDreamClient/Rendering/DreamIcon.cs @@ -109,8 +109,8 @@ public void Dispose() { TextureRenderOffset = Vector2.Zero; return frame; } else { - if (textureOverride is not null) { - var texture = FullRenderTexture(viewOverlay, handle, iconMetaData, frame); //no caching in the presence of overrides + if (textureOverride is not null) { //no caching in the presence of overrides + var texture = FullRenderTexture(viewOverlay, handle, iconMetaData, frame); renderTargetPool.ReturnAtEndOfFrame(texture); return texture.Texture;