mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user