Merge branch 'demototalplaytime' into 'next'

Don't increment totalplaytime if a demo is playing.

See merge request STJr/SRB2!241
This commit is contained in:
Monster Iestyn 2018-06-03 15:10:42 -04:00
commit 37b8be2103
1 changed files with 2 additions and 1 deletions

View File

@ -607,7 +607,8 @@ void P_Ticker(boolean run)
}
// Keep track of how long they've been playing!
totalplaytime++;
if (!demoplayback) // Don't increment if a demo is playing.
totalplaytime++;
if (!useNightsSS && G_IsSpecialStage(gamemap))
P_DoSpecialStageStuff();