Files
VVVVVV/desktop_version/src
Misa b1558f574c Remove game.savemystats
This variable seems to have been intended to make sure
game.savestatsandsettings() was called at the end of the frame, or make
sure that it didn't get called more than once per frame. I don't see any
frame ordering-related reason why it needs to be called specifically at
the end of the frame (the function doesn't modify any state), so it's
more plausible that it was added to make sure it didn't get called more
than one per frame.

However, upon further analysis, none of the code paths where
game.savemystats is used ever calls or sets game.savemystats more than
once, and a majority of the code directly calls
game.savestatsandsettings() anyway, so there's no reason for this
variable to exist. If we ever need to make sure it doesn't get called
more than once, and there's no way to change the code paths around to
prevent it otherwise, we can use the defer callbacks system that I added
to #535, when it gets merged.
2021-01-11 00:26:14 -05:00
..
2020-11-03 13:31:56 -05:00
2020-11-03 13:31:56 -05:00
2020-01-08 10:37:50 -05:00
2021-01-11 00:26:14 -05:00
2021-01-11 00:26:14 -05:00
2020-08-02 23:43:55 -04:00
2021-01-11 00:26:14 -05:00
2021-01-11 00:26:14 -05:00
2021-01-11 00:24:59 -05:00
2021-01-11 00:24:59 -05:00
2020-11-17 12:17:04 -05:00
2020-09-27 16:31:40 -04:00
2020-08-02 23:43:55 -04:00
2020-11-04 12:06:57 -05:00
2020-11-04 12:06:57 -05:00