Change baseunit pred variable from b to u (#2002)
This commit is contained in:
committed by
GitHub
parent
8a48a8bf3d
commit
018ef5daf4
@@ -212,7 +212,7 @@ public class Logic implements ApplicationListener{
|
||||
|
||||
if(state.isGame()){
|
||||
if(!net.client()){
|
||||
state.enemies = Groups.unit.count(b -> b.team() == state.rules.waveTeam && b.type().isCounted);
|
||||
state.enemies = Groups.unit.count(u -> u.team() == state.rules.waveTeam && u.type().isCounted);
|
||||
}
|
||||
|
||||
if(!state.isPaused()){
|
||||
|
||||
Reference in New Issue
Block a user