Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Intersect.Client.Core/Interface/Game/GameInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public partial class GameInterface : MutableInterface

private QuestOfferWindow mQuestOfferWindow;

private ShopWindow mShopWindow;
private ShopWindow _shopWindow;

private MapItemWindow mMapItemWindow;

Expand Down Expand Up @@ -210,7 +210,7 @@ public void NotifyCloseShop()

public void OpenShop()
{
mShopWindow = new ShopWindow(GameCanvas) { DeleteOnClose = true };
_shopWindow = new ShopWindow(GameCanvas) { DeleteOnClose = true };
mShouldOpenShop = false;
}

Expand Down Expand Up @@ -391,7 +391,7 @@ public void Update(TimeSpan elapsed, TimeSpan total)
GameMenu.OpenInventory();
}

if (mShopWindow != null && (!mShopWindow.IsVisibleInTree || mShouldCloseShop))
if (_shopWindow != null && (!_shopWindow.IsVisibleInTree || mShouldCloseShop))
{
CloseShop();
}
Expand Down Expand Up @@ -520,8 +520,8 @@ public void Draw(TimeSpan elapsed, TimeSpan total)
private void CloseShop()
{
Globals.GameShop = null;
mShopWindow?.Hide();
mShopWindow = null;
_shopWindow?.Hide();
_shopWindow = null;
PacketSender.SendCloseShop();
}

Expand Down Expand Up @@ -584,7 +584,7 @@ public bool CloseAllWindows()
closedWindows = true;
}

if (mShopWindow is { IsVisibleInTree: true })
if (_shopWindow is { IsVisibleInTree: true })
{
CloseShop();
closedWindows = true;
Expand Down
Loading
Loading