mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Don't update game.stat_trinkets in custom levels
Whenever you collect a trinket, game.stat_trinkets gets updated (if applicable) to signify the greatest amount of trinkets you have ever collected in the game. However, custom levels shouldn't be able to affect this, as their trinkets are not the same trinkets as the main game.
This commit is contained in:
parent
7f0db19abd
commit
5a9cd861ef
1 changed files with 1 additions and 1 deletions
|
@ -2521,7 +2521,7 @@ void entityclass::updateentities( int i )
|
||||||
if(music.currentsong!=-1) music.silencedasmusik();
|
if(music.currentsong!=-1) music.silencedasmusik();
|
||||||
music.playef(3);
|
music.playef(3);
|
||||||
collect[entities[i].para] = 1;
|
collect[entities[i].para] = 1;
|
||||||
if (game.trinkets > game.stat_trinkets)
|
if (game.trinkets > game.stat_trinkets && !map.custommode)
|
||||||
{
|
{
|
||||||
game.stat_trinkets = game.trinkets;
|
game.stat_trinkets = game.trinkets;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue