prevent the radial menu from showing when there's a locked bomb

This commit is contained in:
Ryan Barlow
2026-01-03 20:38:15 +00:00
parent a60bb5c7c1
commit c8509a77ac
@@ -75,6 +75,10 @@ export class MainRadialMenu extends LitElement implements Layer {
init() {
this.radialMenu.init();
this.eventBus.on(ContextMenuEvent, (event) => {
// Don't show radial menu if there's a locked bomb
if (this.uiState.lockedGhostTile) {
return;
}
const worldCoords = this.transformHandler.screenToWorldCoordinates(
event.x,
event.y,