diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index d1e15d1f55ec4cd84a08288df971a121e09a0dcc..5f7a640fed538e614ce7446bcb863da4c509ebad 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
// Статистика по Tab:
if gGameOn then
+ begin
IsDrawStat := (not gConsoleShow) and (not gChatShow) and (gGameSettings.GameType <> GT_SINGLE) and g_Console_Action(ACTION_SCORES);
+ end
+ else
+ begin
+ if g_Console_Action(ACTION_SCORES) then
+ begin
+ if not gStatsPressed then
+ begin
+ gStatsOff := not gStatsOff;
+ gStatsPressed := True;
+ end;
+ end
+ else
+ gStatsPressed := False;
+ end;
// Игра идет:
if gGameOn and not gPause and (gState <> STATE_FOLD) then