diff --git a/SpaceWizards.RsiLib/DMI/Metadata/RawMetadata.cs b/SpaceWizards.RsiLib/DMI/Metadata/RawMetadata.cs index 9174a1a..cfda0bc 100644 --- a/SpaceWizards.RsiLib/DMI/Metadata/RawMetadata.cs +++ b/SpaceWizards.RsiLib/DMI/Metadata/RawMetadata.cs @@ -196,6 +196,17 @@ public bool TryState([NotNullWhen(true)] out DmiState? state) } } + if (state is { Frames: > 1, Delay: null }) + { + var delay = new List(); + for (var i = 0; i < state.Frames; i++) + { + delay.Add(0.1f); + } + + state = state with { Delay = delay }; + } + return true; } -} \ No newline at end of file +}