mirror of
https://github.com/ChocoTaco1/zDiscord-Map-Pack.git
synced 2026-03-27 15:59:15 +00:00
Moved
This commit is contained in:
parent
5c28cbd7de
commit
0321ef3f36
1 changed files with 0 additions and 0 deletions
|
|
@ -1,30 +0,0 @@
|
|||
// DefaultTurrets.cs
|
||||
// Restore Default Turret count at the end of the match + MPB
|
||||
// Some maps in this map use non-default turret numbers
|
||||
|
||||
$DMP::indoorMinDef = $TeamDeployableMin[TurretIndoorDeployable];
|
||||
$DMP::outdoorMinDef = $TeamDeployableMin[TurretOutdoorDeployable];
|
||||
$DMP::indoorMaxDef = $TeamDeployableMax[TurretIndoorDeployable];
|
||||
$DMP::outdoorMaxDef = $TeamDeployableMax[TurretOutdoorDeployable];
|
||||
|
||||
$DMP::vehicleMPBMax = $VehicleMax[MobileBaseVehicle];
|
||||
|
||||
package turretDefaults
|
||||
{
|
||||
|
||||
function DefaultGame::gameOver( %game )
|
||||
{
|
||||
parent::gameOver(%game);
|
||||
|
||||
$TeamDeployableMin[TurretIndoorDeployable] = $DMP::indoorMinDef;
|
||||
$TeamDeployableMin[TurretOutdoorDeployable] = $DMP::outdoorMinDef;
|
||||
$TeamDeployableMax[TurretIndoorDeployable] = $DMP::indoorMaxDef;
|
||||
$TeamDeployableMax[TurretOutdoorDeployable] = $DMP::outdoorMaxDef;
|
||||
|
||||
$VehicleMax[MobileBaseVehicle] = $DMP::vehicleMPBMax;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
if(!isActivePackage(turretDefaults))
|
||||
activatePackage(turretDefaults);
|
||||
Loading…
Add table
Add a link
Reference in a new issue