1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

fixed weird issue of players with 0 skill showing up in topstats

client name changes are now updated in the database oops
removed clientindex for admins command
This commit is contained in:
RaidMax
2015-03-10 22:32:23 -05:00
parent 74312d5b4e
commit 3aef7619fc
5 changed files with 13 additions and 5 deletions

View File

@ -102,6 +102,8 @@ namespace IW4MAdmin
//messy way to prevent loss of last event
Player A;
A = DB.getPlayer(P.getID(), P.getClientNum());
if (A.getName() != P.getName())
A.updateName(P.getName());
A.lastEvent = P.lastEvent;
P = A;
}