Previous to #95 this was handled by reserving the funds, but that PR changed things so we only reserve when not building. When using Unit.train() and Unit.build() costs are subtracted by python-sc2 but when using __call__ the default is to not subtract the cost.
... and researching upgrades.
Previous to #95 this was handled by reserving the funds, but that PR changed things so we only reserve when not building. When using
Unit.train()
andUnit.build()
costs are subtracted bypython-sc2
but when using__call__
the default is to not subtract the cost.