This commit is contained in:
ChocoTaco1 2022-05-10 16:20:29 -04:00
parent 5172ed82e3
commit a972f3d89d

View file

@ -2206,7 +2206,7 @@ package dtStatsGame{
} }
function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg){ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg){
parent::serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg); parent::serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg);
if($dtStats::Enable && (!%client.isAdmin || (%client.isAdmin && %client.ForceVote)){ if($dtStats::Enable && (!%client.isAdmin || (%client.isAdmin && %client.ForceVote))){
%client.dtStats.voteCount++; %client.dtStats.voteCount++;
if(%typeName $= "VoteChangeMission"){ if(%typeName $= "VoteChangeMission"){
%mission = $HostMissionFile[%arg3]; %mission = $HostMissionFile[%arg3];