mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Fix error when deleting powered portals
This commit is contained in:
parent
d33df3a716
commit
a1393a26d7
1 changed files with 2 additions and 0 deletions
|
@ -978,6 +978,8 @@ export const trashCan = {
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
// Manually set player.tabs because the watcher won't take place until next render
|
||||||
|
player.tabs = player.tabs.filter(s => s !== portal);
|
||||||
},
|
},
|
||||||
draggable: true
|
draggable: true
|
||||||
} as NodeTypeOptions;
|
} as NodeTypeOptions;
|
||||||
|
|
Loading…
Reference in a new issue