hedgewars/uCaptions.pas
changeset 12220 2cbc57db82e1
parent 11046 47a8c19ecb60
--- a/hedgewars/uCaptions.pas	Mon Apr 10 18:42:50 2017 +0200
+++ b/hedgewars/uCaptions.pas	Mon Apr 10 19:08:00 2017 +0200
@@ -47,7 +47,7 @@
     if cOnlyStats then exit;
     if Length(s) = 0 then
         exit;
-    if Captions[Group].Text <> s then
+    if (Captions[Group].Text <> s) or (Captions[Group].Color <> Color) then
         FreeAndNilTexture(Captions[Group].Tex);
 
     if Captions[Group].Tex = nil then