hedgewars/uVisualGearsList.pas
branch0.9.24
changeset 13682 f60b3998ba56
parent 13550 d42237d16acf
--- a/hedgewars/uVisualGearsList.pas	Mon Aug 06 21:41:06 2018 +0200
+++ b/hedgewars/uVisualGearsList.pas	Tue Aug 21 15:11:28 2018 -0400
@@ -63,6 +63,7 @@
     sp: real;
 begin
 AddVisualGear:= nil;
+if cOnlyStats then exit;  // stats only should never ever create a visual gear
 if (GameType <> gmtRecord) and
    (((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet)) or fastScrolling) and // we are scrolling now
    (not Critical)) then