Skip to content
Snippets Groups Projects
Commit d80d972b authored by Hannes Jämtner's avatar Hannes Jämtner
Browse files

Fixed the refinery issue from pipeline

parent d5c2af86
No related branches found
No related tags found
1 merge request!7Uppdaterat API
......@@ -233,7 +233,7 @@ CCTilePosition BuildingPlacer::getRefineryPosition()
for (auto & unit : m_bot.GetAllUnits())
{
UnitType & refinery = Util::GetRefinery(m_bot.GetPlayerRace(Players::Self), m_bot);
UnitType refinery = Util::GetRefinery(m_bot.GetPlayerRace(Players::Self), m_bot);
if (!unit.getType().isGeyser())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment