mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
CPU players capture spawn points
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ namespace battleship{
|
||||
break;
|
||||
}
|
||||
|
||||
if(!u->isVehicle() && ((Structure*)u)->getBuildStatus() < 100){
|
||||
if(!u->isVehicle() && ((Structure*)u)->isComplete()){
|
||||
structBuilt = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user