Jeck - Fix for booster pack purchases not saving.
This commit is contained in:
@@ -58,11 +58,8 @@ void DeckDataWrapper::updateCounts(){
|
||||
}
|
||||
}
|
||||
void DeckDataWrapper::save(){
|
||||
Rebuild(parent);
|
||||
parent->save();
|
||||
if(parent){
|
||||
Rebuild(parent);
|
||||
parent->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
DeckDataWrapper::~DeckDataWrapper(){
|
||||
SAFE_DELETE(parent);
|
||||
}
|
||||
Reference in New Issue
Block a user