fixed bug with saving brand new AI decks.

This commit is contained in:
techdragon.nguyen@gmail.com
2010-10-22 09:22:25 +00:00
parent e2de03d987
commit 34bdfab36f
4 changed files with 13 additions and 2 deletions

View File

@@ -15,3 +15,10 @@ void DeckDataWrapper::save(){
parent->save();
}
}
void DeckDataWrapper::save(string filepath, bool useExpandedCardNames){
if(parent){
Rebuild(parent);
parent->save(filepath, useExpandedCardNames);
}
}