v2.3.2: fixed jump vfx not causing the camera to follow the hero

This commit is contained in:
Evan Debenham
2024-01-30 16:14:58 -05:00
parent 43db54d0fc
commit f985884ef1

View File

@@ -122,6 +122,7 @@ public class HeroSprite extends CharSprite {
public void jump( int from, int to, float height, float duration, Callback callback ) {
super.jump( from, to, height, duration, callback );
play( fly );
Camera.main.panFollow(this, 20f);
}
public synchronized void read() {