bugfix for ( no EP regeneration while being build )

This commit is contained in:
titiger 2016-12-11 20:18:39 +01:00
parent fb845cb420
commit 2c0704b5a9
1 changed files with 1 additions and 1 deletions

View File

@ -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