Setup for showing an in-combat icon and made it so I wait until the animation is done playing, as games do.

This commit is contained in:
Zed A. Shaw 2026-05-27 12:15:29 -04:00
parent 6f9e8a3ed4
commit af69bd2286
3 changed files with 17 additions and 2 deletions

View file

@ -75,11 +75,11 @@ namespace gui {
}
void FSM::ATTACKING(Event ev, std::any data) {
// if(!$main_ui.hands_playing()) {
if(!$main_ui.hands_playing()) {
// run combat one more time
$systems.runCombat(0);
state(State::IDLE);
// }
}
}
void FSM::ROTATING(Event) {