fix: block double vote actions
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2440 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1441,6 +1441,7 @@ struct voteinfo
|
||||
|
||||
void evaluate(bool forceend = false)
|
||||
{
|
||||
if(result!=VOTE_NEUTRAL) return; // block double action
|
||||
int stats[VOTE_NUM] = {0};
|
||||
loopv(clients)
|
||||
if(clients[i]->type!=ST_EMPTY && clients[i]->connectmillis < callmillis)
|
||||
|
||||
Reference in New Issue
Block a user