Skip to content

Commit

Permalink
fix conversion to incorrect type
Browse files Browse the repository at this point in the history
  • Loading branch information
microlith57 committed Aug 3, 2023
1 parent b854cc5 commit 2c272ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Patches/Decal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public void MakeStaticMover(int x, int y, int w, int h, bool jumpThrus = false)
}

public void MakeAnimation(int[] frames) {
textures = frames.Select(i => textures[i]).ToArray();
textures = frames.Select(i => textures[i]).ToList();
}

public void MakeScaredAnimation(int hideRange, int showRange, int[] idleFrames, int[] hiddenFrames, int[] showFrames, int[] hideFrames) {
Expand Down

0 comments on commit 2c272ab

Please sign in to comment.