Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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.
  • Loading branch information...
commit eeb413d9e39448b29baa98035032feeb06d04bfc 1 parent 676f453
Cyp authored February 28, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/structure.cpp
2  src/structure.cpp
@@ -918,7 +918,7 @@ void structureBuild(STRUCTURE *psStruct, DROID *psDroid, int buildPoints)
918 918
 			intBuildFinished(psDroid);
919 919
 		}
920 920
 
921  
-		if((bMultiMessages) && myResponsibility(psStruct->player))
  921
+		if (!isInSync() && bMultiMessages && myResponsibility(psStruct->player))
922 922
 		{
923 923
 			SendBuildFinished(psStruct);
924 924
 		}

0 notes on commit eeb413d

Please sign in to comment.
Something went wrong with that request. Please try again.