Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b0ea899

Browse files
committed
Fixing a typo in bunker breach script that probably screwed up AI reinforcement weighting
1 parent 1aa26e9 commit b0ea899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Base.rte/Activities/BunkerBreach.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function BunkerBreach:UpdateActivity()
278278
for actor in MovableMan.Actors do
279279
if actor.ClassName ~= "ADoor" and actor.Health > 0 then
280280
--Units will weigh in based on their Health
281-
if actor.Team == self.PlayerTeam then
281+
if actor.Team == self.playerTeam then
282282
allyCount = allyCount + actor.Health/actor.MaxHealth;
283283
elseif actor.Team == self.CPUTeam then
284284
enemyCount = enemyCount + actor.Health/actor.MaxHealth;

0 commit comments

Comments
 (0)