final commit
This commit is contained in:
parent
b42853208b
commit
e0c9ea82d1
@ -770,6 +770,10 @@ public class AssetManager {
|
|||||||
for(int i = 0; i < factories.length; i++){
|
for(int i = 0; i < factories.length; i++){
|
||||||
if(factories[i] != null)
|
if(factories[i] != null)
|
||||||
factories[i].draw();
|
factories[i].draw();
|
||||||
|
if(factories[i].teamNo == 0)
|
||||||
|
numberOfPlayerBuildings++;
|
||||||
|
else
|
||||||
|
numberOfAIBuildings++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user