mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +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])
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user