diff --git a/src/app/game-model/gamesystems/ProductGamesystem.ts b/src/app/game-model/gamesystems/ProductGamesystem.ts index 01d7d1f..efdadf4 100644 --- a/src/app/game-model/gamesystems/ProductGamesystem.ts +++ b/src/app/game-model/gamesystems/ProductGamesystem.ts @@ -150,6 +150,15 @@ export class ProductGamesystem extends Gamesystem, rightInnerState: State, left_temp: boolean) { + const combinedStateConditions: ScriptAccountCondition[] = leftInnerState.conditions.concat(rightInnerState.conditions) + for(let i=0; i[] = []; if(!left_temp) { innerStates = [leftInnerState, rightInnerState]; @@ -168,16 +177,8 @@ export class ProductGamesystem extends Gamesystem productInitial = productInitial && innerState.initial) binary_productState!.initial = productInitial + binary_productState.conditions = combinedStateConditions - const combinedStateConditions: ScriptAccountCondition[] = leftInnerState.conditions.concat(rightInnerState.conditions) - const conditionsContradicting = false - for(let i=0; i