mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49: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:
parent
e184923667
commit
0dda1ca5e4
1 changed files with 1 additions and 0 deletions
|
@ -2643,6 +2643,7 @@ bool entityclass::updateentities( int i )
|
|||
if (game.trinkets() > game.stat_trinkets && !map.custommode)
|
||||
{
|
||||
game.stat_trinkets = game.trinkets();
|
||||
game.savestatsandsettings();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue