mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
)
This commit is contained in:
parent
5172ed82e3
commit
a972f3d89d
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue