[Hotfix] Sheer Force arena tag add extra condition (#2356)

This commit is contained in:
Daniel Gaston 2024-06-17 21:49:08 -04:00 committed by GitHub
parent c52e0ac5b6
commit b8a3f30bd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}; };
} }
} }