From 77c06bf7849f944988cde0aaff5ab1e25e67b697 Mon Sep 17 00:00:00 2001 From: Wiz Date: Sun, 4 Feb 2024 02:12:05 +0000 Subject: [PATCH] Just to make sure, start at 10001 instead of 10000. --- CC.Game/CargoManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CC.Game/CargoManager.cs b/CC.Game/CargoManager.cs index 69a1af4..fdc33dc 100644 --- a/CC.Game/CargoManager.cs +++ b/CC.Game/CargoManager.cs @@ -294,7 +294,7 @@ public static CargoType_v2 ToV2(this CustomCargo cargo) var newCargo = ScriptableObject.CreateInstance(); newCargo.id = cargo.Identifier; - newCargo.v1 = (CargoType)s_tempValue++; + newCargo.v1 = (CargoType)(++s_tempValue); newCargo.localizationKeyFull = cargo.LocalizationKeyFull; newCargo.localizationKeyShort = cargo.LocalizationKeyShort;