1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Save stats when setting stat_trinkets

This ensures that if the game crashes afterwards, the new stat_trinkets
value won't be lost.
This commit is contained in:
Misa 2021-08-05 14:20:32 -07:00 committed by Ethan Lee
parent e184923667
commit 0dda1ca5e4

View file

@ -2643,6 +2643,7 @@ bool entityclass::updateentities( int i )
if (game.trinkets() > game.stat_trinkets && !map.custommode)
{
game.stat_trinkets = game.trinkets();
game.savestatsandsettings();
}
}