Change baseunit pred variable from b to u (#2002)

This commit is contained in:
Patrick 'Quezler' Mounier 2020-05-07 17:28:42 +02:00 committed by GitHub
parent 8a48a8bf3d
commit 018ef5daf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()){