SOLVED Persistence Problem

I want to go to another room for my disc menu and have the option to return to the main game. How do I do this with persistence?

(edit)

So when I do this with persistence it looks like this but isn't working. It is just giving me a grey window when I return:

GML:
//global.RoomBeforeMain = room;
global.myroom = room_add();
room_set_width(global.myroom, 2048);
room_set_height(global.myroom, 1400);
room_set_persistent(global.myroom, true);

room_goto(SaveExitInitialRoom);
and then the return code is simply:

room_goto(global.myroom);
 
Last edited:
Problem solved b y changing room_add() to room. This is how the code was before but there was a click-through problem that was confusing me. I just adjusted the position of the return icon and it was solved.
 
Top