[PLUGIN] Savior

Hi. The variable is not saved, I created a variable of type bool and on the On Prepare To Save event I write data to it (true) after which I expect it to be saved by the plugin. The event fires. But when loaded, the variable is set to default (false). In the save file, the variable has the desired value (true), what could be the problem?