Use item keys for body resources
This commit is contained in:
parent
b24811a69a
commit
2d3172887b
7 changed files with 10 additions and 7 deletions
|
|
@ -674,7 +674,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
.OrderBy(pair => pair.Key)
|
||||
.Select(pair => new AetheriaRuntimeBodyResourceCommit
|
||||
{
|
||||
ItemKey = AetheriaRuntimeItemReference.FromLegacyId(pair.Key),
|
||||
ItemKey = pair.Key ?? "",
|
||||
Amount = pair.Value
|
||||
})
|
||||
.ToArray() ?? Array.Empty<AetheriaRuntimeBodyResourceCommit>(),
|
||||
|
|
@ -705,7 +705,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
.OrderBy(pair => pair.Key)
|
||||
.Select(pair => new AetheriaRuntimeBodyResourceCommit
|
||||
{
|
||||
ItemKey = AetheriaRuntimeItemReference.FromLegacyId(pair.Key),
|
||||
ItemKey = pair.Key ?? "",
|
||||
Amount = pair.Value
|
||||
})
|
||||
.ToArray() ?? Array.Empty<AetheriaRuntimeBodyResourceCommit>(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue