Skip to content

Reset per-scene lights-on state#2004

Merged
manuq merged 2 commits intomainfrom
fix-lights-on-in-quests
Mar 3, 2026
Merged

Reset per-scene lights-on state#2004
manuq merged 2 commits intomainfrom
fix-lights-on-in-quests

Conversation

@manuq
Copy link
Copy Markdown
Collaborator

@manuq manuq commented Mar 2, 2026

This state is supposed to be transient, per scene. A Light2D dynamically added to the scene tree could check if the current scene needs the lights on. So it needs to be resetted to its default when switching scenes.

Resolve #2005

This state is supposed to be transient, per scene. A Light2D dynamically added to the scene tree could check if the current scene needs
the lights on. So it needs to be resetted to its default when switching scenes.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 2, 2026

Play this branch at https://play.threadbare.game/branches/endlessm/fix-lights-on-in-quests.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@manuq
Copy link
Copy Markdown
Collaborator Author

manuq commented Mar 3, 2026

I found a typo. Fixed before merging.

@manuq manuq marked this pull request as ready for review March 3, 2026 10:28
@manuq manuq requested a review from a team as a code owner March 3, 2026 10:28
@manuq manuq merged commit d3a1d26 into main Mar 3, 2026
3 checks passed
@manuq manuq deleted the fix-lights-on-in-quests branch March 3, 2026 10:29
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.

Player character and houses incorrectly lighted in quests

2 participants