Fixed a timer bug

This commit is contained in:
Marco Cawthorne 2017-01-10 21:46:17 +01:00
parent f1614d50ff
commit 2a8cb32326
3 changed files with 2 additions and 1 deletions

View file

@ -50,7 +50,7 @@ void StartFrame( void ) {
iInGamePlayers++;
}
if ( ( iInGamePlayers > 0 ) && ( fGameState != GAME_COMMENCING ) ) {
if ( ( iInGamePlayers > 0 ) && ( fGameState != GAME_COMMENCING && fGameState != GAME_END ) ) {
Timer_Begin( 2, GAME_COMMENCING );
} else if ( iInGamePlayers == 0 ) {
fGameState = GAME_INACTIVE;

View file

@ -37,6 +37,7 @@ void Timer_Begin( float fTime, float fMode) {
}
fGameTime = fTime;
bprint( sprintf( "Setting Timer to Mode %d, Time %d\n", fMode, fTime ) );
}
/*

Binary file not shown.