Fix update profile stat after buying cards
profile stats on the upper left of main menu should update after buying some cards :)
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include <JRenderer.h>
|
#include <JRenderer.h>
|
||||||
#include "GameStateShop.h"
|
#include "GameStateShop.h"
|
||||||
|
#include "GameStateMenu.h"
|
||||||
#include "GameApp.h"
|
#include "GameApp.h"
|
||||||
#include "MTGDeck.h"
|
#include "MTGDeck.h"
|
||||||
#include "MTGPack.h"
|
#include "MTGPack.h"
|
||||||
@@ -840,6 +841,7 @@ void GameStateShop::ButtonPressed(int controllerId, int controlId)
|
|||||||
mStage = STAGE_SHOP_SHOP;
|
mStage = STAGE_SHOP_SHOP;
|
||||||
mParent->DoTransition(TRANSITION_FADE, GAME_STATE_MENU);
|
mParent->DoTransition(TRANSITION_FADE, GAME_STATE_MENU);
|
||||||
save();
|
save();
|
||||||
|
GameStateMenu::genNbCardsStr();
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
mStage = STAGE_SHOP_TASKS;
|
mStage = STAGE_SHOP_TASKS;
|
||||||
|
|||||||
Reference in New Issue
Block a user