From f9c607b7345042abef6eb6da15981723d1670892 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Mon, 23 Nov 2020 11:29:35 +0100 Subject: [PATCH] Hotfix: gold button in left corner of game screen (#945) * hotfix: remove gold button in 0,0 --- d2game/d2player/inventory.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/d2game/d2player/inventory.go b/d2game/d2player/inventory.go index 88af29a8..7867037c 100644 --- a/d2game/d2player/inventory.go +++ b/d2game/d2player/inventory.go @@ -122,8 +122,6 @@ func (g *Inventory) Load() { g.goldLabel.SetPosition(invGoldLabelX, invGoldLabelY) g.panelGroup.AddWidget(g.goldLabel) - g.goldButton = g.uiManager.NewButton(d2ui.ButtonTypeGoldCoin, "") - g.panel, err = g.uiManager.NewSprite(d2resource.InventoryCharacterPanel, d2resource.PaletteSky) if err != nil { g.Error(err.Error())