Change health bar tooltip from hitpoints to health
This was SVN commit r9473.
This commit is contained in:
parent
c49f4c677b
commit
1a17fde105
@ -57,7 +57,7 @@ function displaySingle(entState, template)
|
||||
healthSize.rtop = 100-100*Math.max(0, Math.min(1, entState.hitpoints / entState.maxHitpoints));
|
||||
unitHealthBar.size = healthSize;
|
||||
|
||||
hitpoints = "[font=\"serif-bold-13\"]Hitpoints [/font]" + entState.hitpoints + "/" + entState.maxHitpoints;
|
||||
hitpoints = "[font=\"serif-bold-13\"]Health [/font]" + entState.hitpoints + "/" + entState.maxHitpoints;
|
||||
getGUIObjectByName("health").tooltip = hitpoints;
|
||||
getGUIObjectByName("health").hidden = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user