summaryrefslogtreecommitdiff
path: root/src/client/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Client.cpp')
-rw-r--r--src/client/Client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp
index 051dfcd..1490f5f 100644
--- a/src/client/Client.cpp
+++ b/src/client/Client.cpp
@@ -1646,6 +1646,7 @@ std::vector<SaveInfo*> * Client::SearchSaves(int start, int count, std::string q
json::String tempUsername = savesArray[j]["Username"];
json::String tempName = savesArray[j]["Name"];
json::Number tempVersion = savesArray[j]["Version"];
+ json::Boolean tempPublished = savesArray[j]["Published"];
SaveInfo * tempSaveInfo = new SaveInfo(
tempID.Value(),
tempDate.Value(),
@@ -1655,6 +1656,7 @@ std::vector<SaveInfo*> * Client::SearchSaves(int start, int count, std::string q
tempName.Value()
);
tempSaveInfo->Version = tempVersion.Value();
+ tempSaveInfo->SetPublished(tempPublished);
saveArray->push_back(tempSaveInfo);
}
}