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:
parent
6f9e8a3ed4
commit
af69bd2286
3 changed files with 17 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue