Skip to content

Commit a53fc5c

Browse files
committed
rename shop window
1 parent 10d3da6 commit a53fc5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Intersect.Client.Core/Interface/Game/GameInterface.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public partial class GameInterface : MutableInterface
4646

4747
private QuestOfferWindow mQuestOfferWindow;
4848

49-
private ShopWindow mShopWindow;
49+
private ShopWindow _shopWindow;
5050

5151
private MapItemWindow mMapItemWindow;
5252

@@ -209,7 +209,7 @@ public void NotifyCloseShop()
209209

210210
public void OpenShop()
211211
{
212-
mShopWindow = new ShopWindow(GameCanvas) { DeleteOnClose = true };
212+
_shopWindow = new ShopWindow(GameCanvas) { DeleteOnClose = true };
213213
mShouldOpenShop = false;
214214
}
215215

@@ -390,7 +390,7 @@ public void Update(TimeSpan elapsed, TimeSpan total)
390390
GameMenu.OpenInventory();
391391
}
392392

393-
if (mShopWindow != null && (!mShopWindow.IsVisibleInTree || mShouldCloseShop))
393+
if (_shopWindow != null && (!_shopWindow.IsVisibleInTree || mShouldCloseShop))
394394
{
395395
CloseShop();
396396
}
@@ -519,8 +519,8 @@ public void Draw(TimeSpan elapsed, TimeSpan total)
519519
private void CloseShop()
520520
{
521521
Globals.GameShop = null;
522-
mShopWindow?.Hide();
523-
mShopWindow = null;
522+
_shopWindow?.Hide();
523+
_shopWindow = null;
524524
PacketSender.SendCloseShop();
525525
}
526526

@@ -583,7 +583,7 @@ public bool CloseAllWindows()
583583
closedWindows = true;
584584
}
585585

586-
if (mShopWindow is { IsVisibleInTree: true })
586+
if (_shopWindow is { IsVisibleInTree: true })
587587
{
588588
CloseShop();
589589
closedWindows = true;

0 commit comments

Comments
 (0)