Skip to content

Fix NPC "Selected" variable defaulting to true in the point-and-click adventures - #1035

Merged
4ian merged 1 commit into
mainfrom
claude/fix-point-and-click-npc-selected
Aug 9, 2026
Merged

Fix NPC "Selected" variable defaulting to true in the point-and-click adventures#1035
4ian merged 1 commit into
mainfrom
claude/fix-point-and-click-npc-selected

Conversation

@4ian

@4ian 4ian commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Found while writing gameplay tests: in starting-point-and-click-adventure, the NPC object's Selected boolean variable defaults to true. Since the player spawns overlapping two NPCs, the collision event fires on the very first frame — the dialog layer is shown and the Pathfinding behavior deactivated before any input, so the game opens with a dialog up and the player frozen.

…tures

With Selected true on every NPC from the start, the dialog opens on
the first frame when the player spawns overlapping an NPC (and the
Pathfinding behavior is deactivated) before any input, in the 2D
adventure. The 3D variant carries the same wrong default and only
escapes the symptom thanks to its spawn position.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaQQdPZ68X8zkybtsxWE1b
@4ian
4ian merged commit fa4eb98 into main Aug 9, 2026
4 checks passed
@4ian
4ian deleted the claude/fix-point-and-click-npc-selected branch August 9, 2026 21:13
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