Skip to content

Commit

Permalink
Mark progress plugin as not unique (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi committed Nov 19, 2022
1 parent 52b187c commit 325ef88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ impl<S: StateData> Plugin for ProgressPlugin<S> {
panic!("Enable the \"assets\" cargo feature to use assets tracking!");
}
}

fn is_unique(&self) -> bool {
false
}
}

/// Extension trait for systems with progress tracking
Expand Down
4 changes: 4 additions & 0 deletions src/loopless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ impl<S: StateData> Plugin for ProgressPlugin<S> {
panic!("Enable the \"assets\" cargo feature to use assets tracking!");
}
}

fn is_unique(&self) -> bool {
false
}
}

/// Extension trait for systems with Progress tracking
Expand Down

0 comments on commit 325ef88

Please sign in to comment.