StatsX: Actually use cached player id in end_game_stats

This commit is contained in:
Valentin Grünbacher 2014-05-01 14:57:35 +02:00
parent 4afefa25d1
commit ccd0adb84d

View File

@ -1641,7 +1641,7 @@ public end_game_stats()
if (!g_izStatsSwitch[id]) if (!g_izStatsSwitch[id])
continue // Do not show any stats continue // Do not show any stats
cmdStatsMe(iaPlayers[iPlayer]) cmdStatsMe(id)
} }
} }
else if (EndTop15) else if (EndTop15)
@ -1656,7 +1656,7 @@ public end_game_stats()
if (!g_izStatsSwitch[id]) if (!g_izStatsSwitch[id])
continue // Do not show any stats continue // Do not show any stats
show_motd(iaPlayers[iPlayer], g_sBuffer, "Top 15") show_motd(id, g_sBuffer, "Top 15")
} }
} }