Skip to content

Commit ce8e91b

Browse files
authored
change the anim ghost from first frame to last (#870)
1 parent 5ac7408 commit ce8e91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/editors/character/CharacterGhost.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CharacterGhost extends Character {
3737
alpha = 0.4; color = 0xFFAEAEAE;
3838

3939
var flxanim:FlxAnimation = animation._animations.get(anim);
40-
var frameIndex:Int = flxanim.frames.getDefault([0])[0];
40+
var frameIndex:Int = flxanim.frames.getDefault([0])[flxanim.frames.length - 1];
4141
frame = frames.frames[frameIndex];
4242

4343
setAnimOffset(anim);

0 commit comments

Comments
 (0)