v2.0.0: fixed waiting not clearing justMoved for shurikens

This commit is contained in:
Evan Debenham
2023-03-01 13:50:56 -05:00
parent 5c9d73e252
commit e91e27a23d

View File

@@ -722,12 +722,16 @@ public class Hero extends Char {
@Override @Override
public void spend( float time ) { public void spend( float time ) {
justMoved = false;
super.spend(time); super.spend(time);
} }
public void spendAndNextConstant( float time ) { @Override
protected void spendConstant(float time) {
justMoved = false;
super.spendConstant(time);
}
public void spendAndNextConstant(float time ) {
busy(); busy();
spendConstant( time ); spendConstant( time );
next(); next();