Skip to content

teleporter: Use ResourceUID.ensure_path#2043

Open
wjt wants to merge 1 commit intomainfrom
wjt/teleporter-use-resourceuid-ensure-path
Open

teleporter: Use ResourceUID.ensure_path#2043
wjt wants to merge 1 commit intomainfrom
wjt/teleporter-use-resourceuid-ensure-path

Conversation

@wjt
Copy link
Member

@wjt wjt commented Mar 11, 2026

teleporter: Use ResourceUID.ensure_path

The next_scene property, when edited in the editor, is set to
"uid://..." not a res:// path.

Consistently normalise it to a res:// path, using
ResourceUID.ensure_path(), which I don't think existed when this code
was first written.

The next_scene property, when edited in the editor, is set to
"uid://..." not a res:// path.

Consistently normalise it to a res:// path, using
ResourceUID.ensure_path(), which I don't think existed when this code
was first written.
@wjt wjt requested a review from a team as a code owner March 11, 2026 11:11
@github-actions
Copy link

Play this branch at https://play.threadbare.game/branches/endlessm/wjt/teleporter-use-resourceuid-ensure-path.

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

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.

1 participant