dash hud tint
This commit is contained in:
@@ -67,6 +67,9 @@ export class CharacterControls {
|
||||
play = 'left'
|
||||
} else if (!this.currentAction.startsWith('idle')){
|
||||
play = 'idle'
|
||||
} else if (this.actionStart == -1){
|
||||
this.actionStart = 0;
|
||||
play = 'idle';
|
||||
}
|
||||
|
||||
if (this.currentAction.startsWith('idle') && play.startsWith('idle') && this.actionStart > 10){
|
||||
@@ -160,7 +163,7 @@ export class CharacterControls {
|
||||
}
|
||||
|
||||
idleReset(){
|
||||
this.actionStart = 0;
|
||||
this.currentAction = 'idle'
|
||||
this.actionStart = -1;
|
||||
//this.currentAction = 'idle'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user