Merge branch 'heydabop/1339-attack-cancel-interaction' into 'master'

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

Closes #1339

See merge request veloren/veloren!2864
This commit is contained in:
Samuel Keiffer 2021-09-23 16:28:49 +00:00
commit 3091c970f3

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);