Fixes #1339 - Allow attacks and abilities to interrupt sprite interaction

This commit is contained in:
heydabop 2021-09-20 11:52:32 -05:00
parent bb0b5defec
commit e2f9237f05
No known key found for this signature in database
GPG Key ID: 4B09DE3C24DC474E

View File

@ -112,6 +112,9 @@ impl CharacterBehavior for Data {
},
}
// Allow attacks and abilities to interrupt
handle_wield(data, &mut update);
// At end of state logic so an interrupt isn't overwritten
handle_state_interrupt(data, &mut update, false);