mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Vote Stat Bug
This commit is contained in:
parent
df06f0efcb
commit
815fd0ac31
|
|
@ -2206,7 +2206,7 @@ package dtStatsGame{
|
|||
}
|
||||
function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg){
|
||||
parent::serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %teamSpecific, %msg);
|
||||
if($dtStats::Enable){
|
||||
if($dtStats::Enable && (!%client.isAdmin || (%client.isAdmin && %client.ForceVote)){
|
||||
%client.dtStats.voteCount++;
|
||||
if(%typeName $= "VoteChangeMission"){
|
||||
%mission = $HostMissionFile[%arg3];
|
||||
|
|
|
|||
Loading…
Reference in a new issue