Fixed a timer bug
This commit is contained in:
parent
f1614d50ff
commit
2a8cb32326
3 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
BIN
opencs/progs.dat
BIN
opencs/progs.dat
Binary file not shown.
Loading…
Reference in a new issue