Skip to content

Conversation

@Pawan-webdeveloper
Copy link
Contributor

This fixes issue #2775 Godlet Printer selected but inactive [bounty: 33 XTR]

Issues:

  1. The dash “materialize” click handler calls activeCreature.abilities[3].materialize(...) immediately. If anyone double-click, it can call materialize() twice while the game is already in the middle of hex location picking.
  2. In Dark-Priest.ts, materialize() creates a temporary Creature (with { temp: true }) to show in the queue. If we double-click, we can create multiple temp creatures, and the second targeting setup overwrites the first’s query state.

and after the second click, because the UI sets selection directly, the grid’s active query state are now in an overwritten state, so the player ends up in a “selected ability but no effective interaction” situation.

What i fixed:
1.Added a guard flag UI.materializeInProgress in interface.ts , so a second click does nothing while a pick is already active.
2. Also added some cleanups.

@vercel
Copy link

vercel bot commented Jan 14, 2026

@Pawan-webdeveloper is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Jan 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ancientbeast Ready Ready Preview Jan 18, 2026 4:49am

@DreadKnight
Copy link
Member

@Pawan-webdeveloper I've tested this with clicks and hotkeys and it doesn't fixes the issue at all 🐻

@DreadKnight
Copy link
Member

@Pawan-webdeveloper You can test this deployment here btw -> https://ancientbeast-em6aju5t5-freezingmoon.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants