Skip to content

Commit

Permalink
Fix Issue #45 "Reapers don't require tech lab anymore"
Browse files Browse the repository at this point in the history
  • Loading branch information
ImpulseCloud authored and alkurbatov committed Mar 1, 2021
1 parent cf3bdf5 commit 292d4c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/blueprints/Blueprint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ std::shared_ptr<Blueprint> Blueprint::Plot(sc2::ABILITY_ID ability_) {
sc2::UNIT_TYPEID::TERRAN_FACTORYTECHLAB);

case sc2::ABILITY_ID::TRAIN_MARINE:
case sc2::ABILITY_ID::TRAIN_REAPER:
return std::make_shared<Unit>(sc2::UNIT_TYPEID::TERRAN_BARRACKS);

case sc2::ABILITY_ID::TRAIN_GHOST:
case sc2::ABILITY_ID::TRAIN_MARAUDER:
case sc2::ABILITY_ID::TRAIN_REAPER:
return std::make_shared<HighTechUnit>(
sc2::UNIT_TYPEID::TERRAN_BARRACKS,
sc2::UNIT_TYPEID::TERRAN_BARRACKSTECHLAB);
Expand Down
1 change: 0 additions & 1 deletion src/core/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ sc2::UnitTypeData Observer::GetUnitTypeData(sc2::UNIT_TYPEID id_) const {
break;

case sc2::UNIT_TYPEID::TERRAN_MARAUDER:
case sc2::UNIT_TYPEID::TERRAN_REAPER:
data.tech_requirement = sc2::UNIT_TYPEID::TERRAN_BARRACKSTECHLAB;
break;

Expand Down

0 comments on commit 292d4c9

Please sign in to comment.