Fixed starting nodes returning on refresh after being removed
This commit is contained in:
parent
3163b58ba6
commit
fbe4f7883f
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export function addLayer(layer: RawLayer, player?: Partial<PlayerData>): void {
|
|||
buyables: getStartingBuyables(layer.buyables?.data),
|
||||
clickables: getStartingClickables(layer.clickables?.data),
|
||||
challenges: getStartingChallenges(layer.challenges?.data),
|
||||
boards: getStartingBoards(layer.boards?.data),
|
||||
boards: player.layers[layer.id]?.boards || getStartingBoards(layer.boards?.data),
|
||||
grids: {},
|
||||
confirmRespecBuyables: false,
|
||||
...(layer.startData?.() || {})
|
||||
|
|
Loading…
Reference in a new issue