Jeck - Fix for booster pack purchases not saving.

This commit is contained in:
wagic.jeck
2010-02-08 02:16:39 +00:00
parent bdf958de34
commit 513795b316
4 changed files with 10 additions and 16 deletions

View File

@@ -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);
}