mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
update Gold sprite space
This commit is contained in:
@@ -447,7 +447,7 @@ public class Controls {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
currencyAmount = Current.player().getGold();
|
currencyAmount = Current.player().getGold();
|
||||||
currencyIcon = "[+Gold]";
|
currencyIcon = "[+Gold] "; //fix space since gold sprite is wider than a single glyph
|
||||||
Current.player().onGoldChange(() -> update(AdventurePlayer.current().getGold(),true));
|
Current.player().onGoldChange(() -> update(AdventurePlayer.current().getGold(),true));
|
||||||
}
|
}
|
||||||
label.setText(getLabelText(currencyAmount));
|
label.setText(getLabelText(currencyAmount));
|
||||||
|
|||||||
Reference in New Issue
Block a user