Emeralds and tokens now reset when restarting marathon mode in first level

This commit is contained in:
Riku Salminen 2020-11-14 19:18:36 +02:00
parent 4fcca22343
commit 8814980a06

View file

@ -2218,6 +2218,10 @@ void G_Ticker(boolean run)
{
marathonmode |= MA_INIT;
marathontime = 0;
tokenlist = 0;
token = 0;
emeralds = 0;
}
else if (G_GametypeUsesLives() && players[consoleplayer].playerstate == PST_LIVE && players[consoleplayer].lives != INFLIVES)
players[consoleplayer].lives -= 1;