[-] Fixed savegame bug.
This commit is contained in:
parent
3b0cb65893
commit
2ef346636f
1 changed files with 2 additions and 2 deletions
|
@ -71,13 +71,13 @@
|
|||
|
||||
/* virtual */ void COrder_Research::Save(CFile &file, const CUnit &unit) const
|
||||
{
|
||||
file.printf("{\"action-research\"");
|
||||
file.printf("{\"action-research\",");
|
||||
|
||||
if (this->Finished) {
|
||||
file.printf(" \"finished\", ");
|
||||
}
|
||||
if (this->Upgrade) {
|
||||
file.printf(", \"upgrade\", \"%s\"", this->Upgrade->Ident.c_str());
|
||||
file.printf(" \"upgrade\", \"%s\"", this->Upgrade->Ident.c_str());
|
||||
}
|
||||
file.printf("}");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue