Don't send GAME_BUILDFINISHED when in synch.

Was causing the second module to instantly finish, with the structure at 10% body points, if queueing two module build orders in a row for the same structure.

Fixes ticket:2480.
master
Cyp 2011-02-28 20:16:30 +01:00
parent 676f453332
commit eeb413d9e3
1 changed files with 1 additions and 1 deletions

View File

@ -918,7 +918,7 @@ void structureBuild(STRUCTURE *psStruct, DROID *psDroid, int buildPoints)
intBuildFinished(psDroid);
}
if((bMultiMessages) && myResponsibility(psStruct->player))
if (!isInSync() && bMultiMessages && myResponsibility(psStruct->player))
{
SendBuildFinished(psStruct);
}