Skip to content
Snippets Groups Projects
Commit b47f1c8e authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'fixSF_Marine' into 'pregmod-master'

fixSF_Marine

See merge request pregmodfan/fc-pregmod!10622
parents 85373b7d 07b01709
Branches
Tags
1 merge request!10622fixSF_Marine
Pipeline #46563 passed
......@@ -66,9 +66,10 @@ App.SF.upgrades = (function() {
if (completeView === 'all' || T1) { // Launch Bay
array.push('Satellite');
if (V.terrain !== "oceanic" && V.terrain !== "marine") {
if (V.terrain !== "oceanic") {
array.push('GiantRobot', 'MissileSilo');
} else if (V.terrain === "oceanic" || V.terrain === "marine") { // Naval Yard
}
if (V.terrain === "oceanic" || V.terrain === "marine") { // Naval Yard
array.push('AircraftCarrier', 'Sub', 'HAT');
}
}
......@@ -86,9 +87,8 @@ App.SF.upgrades = (function() {
if (!T1) {
if (['Armoury', 'Firebase', 'Drugs', 'Drones', 'AV', 'TV', 'AA', 'TA'].includes(input)) {
return 5;
} else {
return 0;
}
return 0;
} else {
if (!['SpacePlane', 'GunS', 'Satellite', 'GiantRobot', 'MissileSilo', 'AircraftCarrier', 'Sub', 'HAT'].includes(input)) {
return 10;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment