Blizzard / Blizzard/s2client-api

progress not updated when building supply depots

Open
#217 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.7k
Forks
280
PR merge metrics
No merged PRs in 30d

Description

The SCV with orders to build a supply depot will go about building the depot through completion, but the orders list will show the progress as zero the whole time.
The code below is a snippet of the code illustrating the problem: with const *iUnit pointing to the SCV that is doing the building

```
if (iUnit != NULL)
{
if (!iUnit->orders.empty())
{
auto &o = *iUnit->orders.begin();
std::cout << "\nprogress on " << AbilityTypeToName(o.ability_id) << " " << o.progress;
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.