mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
order spoiler log print out to match insertion order (#3006)
This commit is contained in:
parent
ccfc2a84bc
commit
6dc227b5ed
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <libultraship/libultraship.h>
|
#include <libultraship/libultraship.h>
|
||||||
|
|
||||||
using json = nlohmann::json;
|
using json = nlohmann::ordered_json;
|
||||||
|
|
||||||
json jsonData;
|
json jsonData;
|
||||||
std::map<HintKey, ItemLocation*> hintedLocations;
|
std::map<HintKey, ItemLocation*> hintedLocations;
|
||||||
|
@ -843,8 +843,8 @@ const char* SpoilerLog_Write(int language) {
|
||||||
|
|
||||||
jsonData.clear();
|
jsonData.clear();
|
||||||
|
|
||||||
jsonData["_version"] = (char*) gBuildVersion;
|
jsonData["version"] = (char*) gBuildVersion;
|
||||||
jsonData["_seed"] = Settings::seedString;
|
jsonData["seed"] = Settings::seedString;
|
||||||
|
|
||||||
// Write Hash
|
// Write Hash
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue