返回提交历史
Modified
src/constants/gameToBuildVersion.ts
+1
-0
Modified
src/services/saveLoadoutService.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix: mods not persisting when saved in u12 (#3858)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3858 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
390d9365
代码差异
2 个文件
+2
-1
@@ -60,6 +60,7 @@ const gameToBuildVersion = {
60
60
"14.0.0": "2014.07.21.18.38",
61
61
"13.0.0": "2014.04.10.17.47",
62
62
"12.5.2": "2014.03.21.12.01",
63
"12.1.2": "2014.02.14.17.05",
63
64
"11.5.3": "2013.12.21.01.47",
64
65
"11.1.3": "2013.11.29.16.33",
65
66
"10.3.3": "2013.10.11.17.01",
@@ -314,7 +314,7 @@ export const handleInventoryItemConfigChange = async (
314
314
if (legacySkins) {
315
315
c.Skins = legacySkins;
316
316
}
317
if (version_compare(buildLabel, gameToBuildVersion["13.0.0"]) < 0) {
317
if (version_compare(buildLabel, gameToBuildVersion["12.1.2"]) < 0) {
318
318
if (c.Upgrades) {
319
319
// U10-U11 store mods in the item config as $id instead of a string, need to convert that here
320
320
const convertedUpgrades: string[] = [];