mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45:36 +03:00
StatsX: Actually use cached player id in end_game_stats
This commit is contained in:
parent
4afefa25d1
commit
ccd0adb84d
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user