EmpUtils issueshttps://git.empiresmod.com/sourcemod/EmpUtils/-/issues2017-10-24T22:51:31Zhttps://git.empiresmod.com/sourcemod/EmpUtils/-/issues/2Player disconnects and OnVoteLeaderChanged2017-10-24T22:51:31ZNeoonyPlayer disconnects and OnVoteLeaderChangedSomething odd about player disconnecting while opted in and having votes.
Think it might need 2 votes for it to happen. As it didnt happen if I just opted in and voted for myself and left.
And when it happened Mikleo had 2 votes, ...Something odd about player disconnecting while opted in and having votes.
Think it might need 2 votes for it to happen. As it didnt happen if I just opted in and voted for myself and left.
And when it happened Mikleo had 2 votes, one from himself and one from me. And then Mikleo left and it was still 1 vote on leader while nobody was opted in.https://git.empiresmod.com/sourcemod/EmpUtils/-/issues/1Self vote OnVoteLeaderChanged numVotes2017-10-24T23:16:20ZNeoonySelf vote OnVoteLeaderChanged numVotesMake it somehow possible to detect self voting.
void OnVoteLeaderChanged(int team,int leader,int numVotes);
Or not sure if I can somehow exclude it.Make it somehow possible to detect self voting.
void OnVoteLeaderChanged(int team,int leader,int numVotes);
Or not sure if I can somehow exclude it.