Skip to content

Signals table in scheme storage does not persist across saves #154

@Decane

Description

@Decane

This can cause e.g. the main storyline to break per this Steam thread:

After inspecting the game's audio scripts, I can see that the sound_end signal does not persist across saves. Usually this isn't a problem, but it can be if a save gets created during the short time window after the object binder update() call that triggers the sound callback that registers the signal but before the subsequent object binder update() call that would trigger xr_logic.try_switch_to_another_section() and actually respond to that signal. If this happens, then upon loading the affected save, the signal will have been lost and any logic script that relies on it can get stuck.

The sound_end and theme_end signals may not be the only ones susceptible to being lost in the event of an unfortunately timed save.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions