Fix never ending bell when network game ends
This commit is contained in:
parent
3ee940b242
commit
dad40e59de
@ -954,7 +954,7 @@ void World::updateTimeTargetSound()
|
||||
RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_CAPTURE_THE_FLAG)
|
||||
{
|
||||
if (time_elapsed <= 5 && getTimeTicks() % stk_config->time2Ticks(1.0f) == 0 &&
|
||||
!World::getWorld()->isRaceOver())
|
||||
!World::getWorld()->isRaceOver() && time_elapsed > 0)
|
||||
{
|
||||
SFXManager::get()->quickSound("pre_start_race");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user