Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

room_next() and room_previous() return -1 instead of ref room -1 #9057

Open
gm-bug-reporter bot opened this issue Jan 17, 2025 · 0 comments
Open

room_next() and room_previous() return -1 instead of ref room -1 #9057

gm-bug-reporter bot opened this issue Jan 17, 2025 · 0 comments
Labels
project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes

Comments

@gm-bug-reporter
Copy link

Description

Using room_next() or room_previous() when a valid room isn't available to return results in -1, instead of the asset handle ref room -1.

Steps To Reproduce

In a new project, create a script and paste the following:

show_message($"room_next(room): {room_next(room)}") // returns -1
show_message($"room_previous(room): {room_previous(room)}") // returns -1

Which version of GameMaker are you reporting this issue for?

IDE v2024.1300.0.720 Runtime v2024.1300.0.733

Which operating system(s) are you seeing the problem on?

Windows 10.0.26100.0

Which platform(s) are you seeing the problem on?

Windows

a8bf2421-3a90-4793-96a2-2466d08753e8

@gm-bug-reporter gm-bug-reporter bot added project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Triage
Development

No branches or pull requests

0 participants