I can't fix a error :(
I created "gamemode" sprite with "isIronMode" public property. gamemode sets isIronMode to false (outside "onUpdate", so only on start ig). Then, in main menu i have created third callback "() => { gm.isIronMode = !gm.isIronMode; }," , and placed gamemode in main menu room. When i use "gm = findClosest(gamemode);" in menuMain sprite it says "can't read properties of undefined" :(