Skip to content

Allow Full and Working Directory filepath for loadScene - #1

Open
peardox wants to merge 1 commit into
YoYoGames:mainfrom
peardox:fix_loadscene
Open

Allow Full and Working Directory filepath for loadScene#1
peardox wants to merge 1 commit into
YoYoGames:mainfrom
peardox:fix_loadscene

Conversation

@peardox

@peardox peardox commented Aug 6, 2026

Copy link
Copy Markdown

loadScene in scrSample.gml fails if a fully qualified filename is passed as it prepends working_directory to the passed filename without any check.
This (simple) modification resolves this issue allowing full filespecs to be passed correctly.
The return for an error is left as stated in the jsdocs

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