Skip to content

Commit

Permalink
Patch Team Balance for 0.8.52 Gamedata
Browse files Browse the repository at this point in the history
- Switches to GetHasAnyCritical method which accounts for both critical structures and units
  • Loading branch information
data-bomb committed May 21, 2024
1 parent 91a7ef3 commit df62536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Si_BasicTeamBalance/Si_BasicTeamBalance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You should have received a copy of the GNU General Public License
using SilicaAdminMod;
using System.Linq;

[assembly: MelonInfo(typeof(BasicTeamBalance), "Basic Team Balance", "1.2.7", "databomb", "https://github.com/data-bomb/Silica")]
[assembly: MelonInfo(typeof(BasicTeamBalance), "Basic Team Balance", "1.2.8", "databomb", "https://github.com/data-bomb/Silica")]
[assembly: MelonGame("Bohemia Interactive", "Silica")]
[assembly: MelonOptionalDependencies("Admin Mod")]

Expand Down Expand Up @@ -180,7 +180,7 @@ public static int GetNumberOfActiveTeams(MP_Strategy.ETeamsVersus versusMode)
continue;
}
// has the team been eliminated?
else if (versusMode == MP_Strategy.ETeamsVersus.HUMANS_VS_HUMANS_VS_ALIENS && !thisTeam.GetHasAnyMajorStructures())
else if (versusMode == MP_Strategy.ETeamsVersus.HUMANS_VS_HUMANS_VS_ALIENS && !thisTeam.GetHasAnyCritical())
{
continue;
}
Expand Down

0 comments on commit df62536

Please sign in to comment.