Syntax Error Fixing

Fixed all of the syntax errors in the current version of the mod.

* NOTE: You can now run a server on this current version although some
of the zombie features are non-functional at the moment.
This commit is contained in:
Robert Fritzen 2017-12-20 12:48:36 -06:00
parent 00e88cd9ea
commit 34dc29b805
9 changed files with 47 additions and 28 deletions

View file

@ -73,8 +73,8 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
// if not a valid vote, turn back.
//Phantom139: Spring Cleaning... TWM2 3.9.2
// Old format: if( $VoteMessage[ %typeName ] $= "" && %typeName !$= "VoteOnlyOwnerCascade" )
if($VoteMessage[%typeName $= "") {
switch$(%typeName):
if($VoteMessage[%typeName] $= "") {
switch$(%typeName) {
case "VoteTeamDamage" or "VoteHoardMode" or "VoteGreedMode" or "VotePurebuild" or "VoteLivingWorldMode"
or "VoteCascadeMode" or "VoteExpertMode" or "VoteVehicles" or "VoteSatchelCharge" or "VoteOnlyOwnerDeconstruct"
or "VoteOnlyOwnerCascade" or "VoteOnlyOwnerRotate" or "VoteOnlyOwnerCubicReplace" or "VoteRemoveDeployables"
@ -84,6 +84,7 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
// Looks like we missed a message, but the type is ok, allow pass.
default:
%typePass = false;
}
}
// End JTL