hedgewars/uCaptions.pas
changeset 8027 e5ba3dd12531
parent 6999 486db9d26e4b
child 8096 453917e94e55
child 9080 9b42757d7e71
--- a/hedgewars/uCaptions.pas	Wed Nov 14 22:08:40 2012 -0500
+++ b/hedgewars/uCaptions.pas	Wed Nov 14 22:27:05 2012 -0500
@@ -44,6 +44,7 @@
 
 procedure AddCaption(s: shortstring; Color: Longword; Group: TCapGroup);
 begin
+    if cOnlyStats then exit;
     if Captions[Group].Text <> s then
         begin
         FreeTexture(Captions[Group].Tex);