room_next() and room_previous() return -1 instead of ref room -1
#9057
Labels
project
This issue has a sample project attached
runner-bug
In-game bugs with the "GameMaker Studio 2" runtimes
Description
Using
room_next()
orroom_previous()
when a valid room isn't available to return results in-1
, instead of the asset handleref room -1
.Steps To Reproduce
In a new project, create a script and paste the following:
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
The text was updated successfully, but these errors were encountered: