richard 56a4965ff7 Fix bear gate re-opening after Play Again
Clearing the arena's last wave set the DP debug flag
"gate_unlocked_bear" to true as a side effect. That flag lives on the
DP autoload, which survives scene reloads and isn't touched by
Run.start_new_run() — so once cleared for real in a play session, it
stayed true forever, permanently overriding the per-run
Run.cleared-based gate check in lobby_underground.gd. Every later
lobby load (including after Play Again reset the real run state) kept
re-opening the gate.

The DP flag is meant to be a manual designer override for testing the
animation (per its own doc comment), not something gameplay code sets
persistently — Run.bear_gate_open() is already the real per-run source
of truth. Removed the stray set_value() call.

Verified in isolation: clearing the arena's last wave no longer
touches the DP flag (stays false), so the gate only opens through the
run-scoped Run.cleared state, which already resets correctly on Play
Again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MXBNaEBmrYDSMcv4NgUWtV
2026-09-10 18:31:29 +03:00
2026-05-09 17:56:43 +03:00
2026-09-08 19:15:14 +03:00
2026-09-08 19:15:14 +03:00
2026-06-04 00:10:13 +03:00
2026-05-09 17:55:47 +03:00
2026-05-09 17:55:47 +03:00
2026-08-23 13:16:04 +03:00
2026-05-09 17:55:47 +03:00
2026-05-09 17:56:43 +03:00
2026-09-10 16:44:04 +03:00
2026-05-09 16:44:43 +03:00
S
Description
No description provided
Readme 890 MiB
Languages
GDScript 96.3%
Python 2.1%
GDShader 0.8%
Shell 0.8%