I'm running into some strange behavior when using function maps with system->load and system->save. Basically, if system->save was called in a layout's event sheet, and functions were mapped to a function map in that layout's "on start of layout" event, those functions will not be in the function map if I call system->load from another layout.
This project shows the issue: To duplicate:
- Preview project
- Press 'go to layout' button
- Select 'blue' and press call- color should turn to blue
- Press 'save' button
- Close project preview
- Preview project again
- Press 'load' button
- Select 'blue' and press call - color is now black
Because function Blue is mapped in levelLayout->on start of layout, it's being ignored/forgotten when calling system->load from titleLayout.
Is this a bug? Or does system->load ignore "on start of layout" events? So far I've only seen function maps affected by this, otherwise things that were set in "on start of layout" seem to be retained after calling system->load.