Closed ayu-mail closed 6 years ago
The following code captures the SCV production record of more than 800, in fact less than 100, testing multiple replays of a wide range, the SCV has this problem, other unit types are not.
void OnUnitCreated(const sc2::Unit* unit) { std::cout << UnitTypeToName(unit->unit_type) << std::endl; }
OnUnitCreated() is called when SCVs exit Refineries.
Thank you very much
The following code captures the SCV production record of more than 800, in fact less than 100, testing multiple replays of a wide range, the SCV has this problem, other unit types are not.