mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-21 16:13:54 +00:00
Fix influences not being placed on board
This commit is contained in:
parent
44844f0de7
commit
b9cf016672
1 changed files with 6 additions and 3 deletions
|
@ -407,8 +407,8 @@ export function createPlane(
|
|||
);
|
||||
influenceTreasures.push(randomInfluence);
|
||||
description = `Gain a new portal influence`;
|
||||
onComplete = () =>
|
||||
main.board.placeInAvailableSpace({
|
||||
onComplete = () => {
|
||||
const node = {
|
||||
id: getUniqueNodeID(main.board),
|
||||
position: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
|
@ -421,7 +421,10 @@ export function createPlane(
|
|||
type: randomInfluence,
|
||||
data: influenceTypes[randomInfluence].initialData
|
||||
}
|
||||
});
|
||||
};
|
||||
main.board.placeInAvailableSpace(node);
|
||||
main.board.nodes.value.push(node);
|
||||
};
|
||||
break;
|
||||
}
|
||||
const milestoneVisibility = visibility;
|
||||
|
|
Loading…
Reference in a new issue