Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SHOWOFF-NVSE/functions/SO_fn_Files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ bool Cmd_WriteToJSONFile_Execute(COMMAND_ARGS)
// File was either created, or was completely replaced; cache that new data.
// Also possible that file didn't exist and wasn't created, but we can still cache that data.
ScopedLock lock(g_JsonMapLock);
g_CachedJSONFiles.Emplace(relPath.data(), std::move(GetRef(elemAsJSON)));
g_CachedJSONFiles[relPath.data()] = std::move(GetRef(elemAsJSON));
*result = true; //success if cached data is changed
}
}
Expand Down