[Low] [Bug] [Spire] Activity log flooded with duplicate messages after Spire exit #369
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
Type: Bug
Store:
useUIStore/combatStore.tsSteps to reproduce:
Expected:
Actual:
Likely cause:
Starting investigation of duplicate activity log messages after Spire exit. Reading relevant source files.
Fix applied. Two root causes identified and fixed:
combat-descent-actions.ts—onEnterRoomDescendduplicate log: When descending through already-cleared rooms,onEnterRoomDescendlogged "Floor X Room Y is clear — moving on" and then calledadvanceRoomOrFloor, which also logs "Room X passed". Removed the redundant log fromonEnterRoomDescend.SpireCombatPage.tsx— duplicate exit message:handleExitSpirecalledexitSpireMode()(which logs "Exited the Spire") and then also logged "🚪 Exited the Spire." — removed the duplicateaddActivityLogcall from the component.All 1158 tests pass.