Skip to content

Commit

Permalink
Fix update profile stat after buying cards
Browse files Browse the repository at this point in the history
profile stats on the upper left of main menu should update after buying
some cards :)
  • Loading branch information
kevlahnota committed Oct 14, 2015
1 parent 626f067 commit 297206b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/mtg/src/GameStateShop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <JRenderer.h>
#include "GameStateShop.h"
#include "GameStateMenu.h"
#include "GameApp.h"
#include "MTGDeck.h"
#include "MTGPack.h"
Expand Down Expand Up @@ -840,6 +841,7 @@ void GameStateShop::ButtonPressed(int controllerId, int controlId)
mStage = STAGE_SHOP_SHOP;
mParent->DoTransition(TRANSITION_FADE, GAME_STATE_MENU);
save();
GameStateMenu::genNbCardsStr();
break;
case 14:
mStage = STAGE_SHOP_TASKS;
Expand Down

0 comments on commit 297206b

Please sign in to comment.