diff --git a/src/modes/soccer_world.cpp b/src/modes/soccer_world.cpp index 51e39da2f..d7caf60db 100644 --- a/src/modes/soccer_world.cpp +++ b/src/modes/soccer_world.cpp @@ -487,6 +487,8 @@ void SoccerWorld::onCheckGoalTriggered(bool first_goal) NetworkConfig::get()->isClient())) return; + if (getTicksSinceStart() < m_ticks_back_to_own_goal) + return; m_ticks_back_to_own_goal = getTicksSinceStart() + stk_config->time2Ticks(3.0f); m_goal_sound->play();