Skip to content

Commit

Permalink
duplicate attribute bar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VietnamNeko committed May 4, 2021
1 parent 4b3536d commit 43b69cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/core/IgeEntity.js
Original file line number Diff line number Diff line change
Expand Up @@ -4214,7 +4214,7 @@ var IgeEntity = IgeObject.extend({
// update attribute if entity has such attribute
if (ige.isClient) {
if (this._category === 'unit') {
this.updateAttributeBar(this._stats.attributes[attributeTypeId]);
//this.updateAttributeBar(this._stats.attributes[attributeTypeId]);
this.unitUi && this.unitUi.updateAttributeBar(this._stats.attributes[attributeTypeId]);
}
}
Expand Down

0 comments on commit 43b69cc

Please sign in to comment.