Player
Player copied to clipboard
Maniac: Save - The result of the save is not set to 0 when the save was not able to be done
Player platform:
Windows, 64 bits continuous build of the Player.
Describe the issue in detail and how to reproduce it:
When using the Save command and asking to store the result in a variable and that the save was not able to done, instead of returning 0, the Player seems to not do anything to the variable in question. You can see this issue on the screenshot here: the variable 106 was set to 9526312 and I tried to save on the save slot 0. The RPG_RT of the Maniac Patch returned 0 while the Player kept the same value instead of changing it to 0.
(Other thing to note when fixing this issue to avoid any regression: loading a save where the result was asked will just be as-if this result was never asked, the variable not being altered, this part is normal)