Browse Source

Fix orphaned code and duplicate method declaration

Co-authored-by: djeada <[email protected]>
copilot-swe-agent[bot] 4 days ago
parent
commit
41fec50e00
1 changed files with 0 additions and 4 deletions
  1. 0 4
      app/core/game_engine.cpp

+ 0 - 4
app/core/game_engine.cpp

@@ -1454,10 +1454,6 @@ void GameEngine::on_unit_died(const Engine::Core::UnitDiedEvent &event) {
       m_entity_cache.enemy_barracks_alive = (m_entity_cache.enemy_barracks_count > 0);
       m_entity_cache.enemy_barracks_alive = (m_entity_cache.enemy_barracks_count > 0);
     }
     }
   }
   }
-
-    return {};
-  }
-  return m_commandController->getPatrolFirstWaypoint();
 }
 }
 
 
 auto GameEngine::minimap_image() const -> QImage {
 auto GameEngine::minimap_image() const -> QImage {