Improve match finishing behaviour
This commit is contained in:
@@ -25,6 +25,8 @@ pub enum GameplaySet {
|
||||
Animation,
|
||||
/// Resolve attacks
|
||||
Attacks,
|
||||
/// Advance match rules and detect the end of the match.
|
||||
MatchRules,
|
||||
}
|
||||
|
||||
/// Declares the order of [`GameplaySet`] inside [`GgrsSchedule`]. Added by
|
||||
@@ -43,6 +45,7 @@ impl Plugin for GameplaySchedulePlugin {
|
||||
GameplaySet::Animation,
|
||||
GameplaySet::Collision,
|
||||
GameplaySet::Attacks,
|
||||
GameplaySet::MatchRules,
|
||||
)
|
||||
.chain(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user