resolution to issue 794. Non-classic games crashed at the completion of the game.
This commit is contained in:
@@ -105,10 +105,7 @@ class HumanPlayer: public Player
|
||||
{
|
||||
public:
|
||||
HumanPlayer(GameObserver *observer, string deckFile, string deckFileSmall, bool premade = false, MTGDeck * deck = NULL);
|
||||
void End(){
|
||||
if(!premade && opponent())
|
||||
DeckStats::GetInstance()->saveStats(this, opponent(), observer);
|
||||
};
|
||||
void End();
|
||||
friend ostream& operator<<(ostream&, const HumanPlayer&);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user