hedgewars/uCaptions.pas
branchphysfslayer
changeset 8520 1dedcc37bfe8
parent 8027 e5ba3dd12531
child 8096 453917e94e55
child 9080 9b42757d7e71
--- a/hedgewars/uCaptions.pas	Sun Nov 18 01:06:01 2012 +0400
+++ b/hedgewars/uCaptions.pas	Fri Feb 22 05:05:32 2013 +0100
@@ -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);