mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-30 23:25:57 -04:00
Hotfix: gold button in left corner of game screen (#945)
* hotfix: remove gold button in 0,0
This commit is contained in:
parent
7919b742bd
commit
f9c607b734
@ -122,8 +122,6 @@ func (g *Inventory) Load() {
|
|||||||
g.goldLabel.SetPosition(invGoldLabelX, invGoldLabelY)
|
g.goldLabel.SetPosition(invGoldLabelX, invGoldLabelY)
|
||||||
g.panelGroup.AddWidget(g.goldLabel)
|
g.panelGroup.AddWidget(g.goldLabel)
|
||||||
|
|
||||||
g.goldButton = g.uiManager.NewButton(d2ui.ButtonTypeGoldCoin, "")
|
|
||||||
|
|
||||||
g.panel, err = g.uiManager.NewSprite(d2resource.InventoryCharacterPanel, d2resource.PaletteSky)
|
g.panel, err = g.uiManager.NewSprite(d2resource.InventoryCharacterPanel, d2resource.PaletteSky)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
g.Error(err.Error())
|
g.Error(err.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user