Preserve generated equipment rotation

This commit is contained in:
Meta Vens 2026-07-16 15:02:01 +01:00
commit 01f0d69b8d
15 changed files with 78 additions and 20 deletions

View file

@ -2916,6 +2916,7 @@ static AetheriaRuntimeLoadoutItemSlotCommit[] ToEntitySlotCommits(
{
X = slot.Position?.X ?? 0,
Y = slot.Position?.Y ?? 0,
Rotation = slot.Rotation ?? "None",
Item = new AetheriaRuntimeLoadoutItemCommit
{
ItemKey = slot.ItemKey ?? "",
@ -2996,6 +2997,7 @@ static AetheriaRuntimeLoadoutItemSlotCommit[] ToSlotCommits(
{
X = slot.Position?.X ?? 0,
Y = slot.Position?.Y ?? 0,
Rotation = slot.Rotation ?? "None",
Item = ToLoadoutItemCommit(slot.Item)
})
.ToArray();