Super awesome twitchy animation for axe guy.

This commit is contained in:
Zed A. Shaw 2025-02-22 11:03:38 -05:00
parent 80a0f2ba75
commit 83df9ff03b
10 changed files with 42 additions and 68 deletions

View file

@ -164,7 +164,7 @@ void System::combat(GameLevel &level) {
if(world.has<Animation>(entity)) {
auto& animation = world.get<Animation>(entity);
animation.current = 0;
animation.play();
}
world.send<Events::GUI>(Events::GUI::COMBAT, entity, result);