Posted December 23, 2023 by Yal
Got alerted to this in a GMC forum discussion, romms_rooms_handle_deactivation did not work properly and could leave rooms deactivated permanently if you switched layers. There are two separate issues at play here:
The fixed version of the code looks like this, updating the function accordingly will fix this buggy behavior in your project and I've updated the source as well so others won't run into this issue in the future.
Having to resort to activating all rommsrooms and then deactivating them one at a time with a with loop feels a bit stupid and inefficient but it looks like it's the only way right now :/ Performance issues at least shouldn't be a big concern since this function is only ran when you scroll to a different room / change layers. (No clue why the object-layer objects weren't affected and only the rooms-layer ones)