File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -383,12 +383,12 @@ function BrainvsBrain:UpdateActivity()
383
383
384
384
if red_players < 1 and green_players > 0 then
385
385
self .WinnerTeam = Activity .TEAM_2
386
- MovableMan :KillAllActors (self .WinnerTeam )
386
+ MovableMan :KillAllEnemyActors (self .WinnerTeam )
387
387
ActivityMan :EndActivity ()
388
388
return
389
389
elseif green_players < 1 and red_players > 0 then
390
390
self .WinnerTeam = Activity .TEAM_1
391
- MovableMan :KillAllActors (self .WinnerTeam )
391
+ MovableMan :KillAllEnemyActors (self .WinnerTeam )
392
392
ActivityMan :EndActivity ()
393
393
return
394
394
elseif green_players < 1 and red_players < 1 then
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ function BunkerBreach:UpdateActivity()
263
263
264
264
if not MovableMan :IsActor (self .CPUBrain ) then
265
265
self .WinnerTeam = Activity .TEAM_1
266
- MovableMan :KillAllActors (self .WinnerTeam )
266
+ MovableMan :KillAllEnemyActors (self .WinnerTeam )
267
267
ActivityMan :EndActivity ()
268
268
return
269
269
else
@@ -296,7 +296,7 @@ function BunkerBreach:UpdateActivity()
296
296
297
297
if players < 1 then
298
298
self .WinnerTeam = self .CPUTeam
299
- MovableMan :KillAllActors (self .WinnerTeam )
299
+ MovableMan :KillAllEnemyActors (self .WinnerTeam )
300
300
ActivityMan :EndActivity ()
301
301
return
302
302
end
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ function Siege:UpdateActivity()
334
334
335
335
if players < 1 then
336
336
self .WinnerTeam = self .CPUTeam
337
- MovableMan :KillAllActors (self .WinnerTeam )
337
+ MovableMan :KillAllEnemyActors (self .WinnerTeam )
338
338
ActivityMan :EndActivity ()
339
339
return
340
340
end
@@ -444,7 +444,7 @@ function Siege:UpdateActivity()
444
444
445
445
if troops < 2 then
446
446
self .WinnerTeam = self .PlayerTeam
447
- MovableMan :KillAllActors (self .WinnerTeam )
447
+ MovableMan :KillAllEnemyActors (self .WinnerTeam )
448
448
ActivityMan :EndActivity ()
449
449
return
450
450
end
You can’t perform that action at this time.
0 commit comments