Jeck - Fix for issue 126. System didn't reset "I'm using a premade deck" boolean, so would look in the wrong place for decks if profiles were switched after playing with a premade deck.
This commit is contained in:
@@ -211,6 +211,7 @@ void GameStateDuel::End()
|
|||||||
if (mPlayers[0] && mPlayers[1]) mPlayers[0]->End();
|
if (mPlayers[0] && mPlayers[1]) mPlayers[0]->End();
|
||||||
GameObserver::EndInstance();
|
GameObserver::EndInstance();
|
||||||
game = NULL;
|
game = NULL;
|
||||||
|
premadeDeck = false;
|
||||||
|
|
||||||
for (int i = 0; i < 2; i++){
|
for (int i = 0; i < 2; i++){
|
||||||
SAFE_DELETE(mPlayers[i]);
|
SAFE_DELETE(mPlayers[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user