+
Skip to content

Conversation

@AlexNisnevich AlexNisnevich changed the title [WIP] Various fixes of issues arising from 10/29/22 playtest Fix various issues arising from 10/29/22 playtest Oct 30, 2022
): w.GameState {
if (!allObjectsOnBoard(state)[hex]) {
// Object no longer exists - perhaps it has already been deleted by a previous effect in a chain of triggers?
if (!(allObjectsOnBoard(state)[hex]?.id === object.id)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just do !==?

@AlexNisnevich AlexNisnevich merged commit 911e4d8 into main Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载