bugfix for ( no EP regeneration while being build )
This commit is contained in:
parent
fb845cb420
commit
2c0704b5a9
|
@ -3294,7 +3294,7 @@ void Unit::tick() {
|
|||
// }
|
||||
// addItemToVault(&this->ep,this->ep);
|
||||
|
||||
if(!isBuilt()){
|
||||
if(!isBeingBuilt()){
|
||||
//regenerate ep upgrade / or boost
|
||||
checkItemInVault(&this->ep,this->ep);
|
||||
//regenerate ep
|
||||
|
|
Loading…
Reference in New Issue