mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2026-02-14 20:32:29 +00:00
barbarian anim
This commit is contained in:
@@ -118,7 +118,7 @@ export class Enemy extends Component {
|
||||
|
||||
if (move.x < 0) {
|
||||
this.sprite.node.setScale(-1, 1, 1);
|
||||
} else {
|
||||
} else if (0 < move.x) {
|
||||
this.sprite.node.setScale(1, 1, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user