From ccd0adb84d9c3f2c7d5989ac5c7e236522fa64f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Gr=C3=BCnbacher?= Date: Thu, 1 May 2014 14:57:35 +0200 Subject: [PATCH] StatsX: Actually use cached player id in end_game_stats --- plugins/cstrike/statsx.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index f3809755..43ad801b 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -1641,7 +1641,7 @@ public end_game_stats() if (!g_izStatsSwitch[id]) continue // Do not show any stats - cmdStatsMe(iaPlayers[iPlayer]) + cmdStatsMe(id) } } else if (EndTop15) @@ -1656,7 +1656,7 @@ public end_game_stats() if (!g_izStatsSwitch[id]) continue // Do not show any stats - show_motd(iaPlayers[iPlayer], g_sBuffer, "Top 15") + show_motd(id, g_sBuffer, "Top 15") } }