mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
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:
commit
37b8be2103
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue