[Hotfix] Sheer Force arena tag add extra condition (#2356)
This commit is contained in:
parent
c52e0ac5b6
commit
b8a3f30bd0
|
@ -4246,7 +4246,7 @@ export class AddArenaTrapTagAttr extends AddArenaTagAttr {
|
||||||
}
|
}
|
||||||
|
|
||||||
const tag = user.scene.arena.getTagOnSide(this.tagType, side) as ArenaTrapTag;
|
const tag = user.scene.arena.getTagOnSide(this.tagType, side) as ArenaTrapTag;
|
||||||
return tag.layers < tag.maxLayers;
|
return tag && tag.layers < tag.maxLayers;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue