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
parent
676f453332
commit
eeb413d9e3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue