Skip to content

Commit

Permalink
Just to make sure, start at 10001 instead of 10000.
Browse files Browse the repository at this point in the history
  • Loading branch information
WhistleWiz committed Feb 4, 2024
1 parent 1fb3c8a commit 77c06bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CC.Game/CargoManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public static CargoType_v2 ToV2(this CustomCargo cargo)
var newCargo = ScriptableObject.CreateInstance<CargoType_v2>();

newCargo.id = cargo.Identifier;
newCargo.v1 = (CargoType)s_tempValue++;
newCargo.v1 = (CargoType)(++s_tempValue);

newCargo.localizationKeyFull = cargo.LocalizationKeyFull;
newCargo.localizationKeyShort = cargo.LocalizationKeyShort;
Expand Down

0 comments on commit 77c06bf

Please sign in to comment.