diff --git a/lib/common/src/gameplay_modes.rs b/lib/common/src/gameplay_modes.rs index b35acc6..d0d204b 100644 --- a/lib/common/src/gameplay_modes.rs +++ b/lib/common/src/gameplay_modes.rs @@ -110,6 +110,7 @@ impl Stage{ pub fn into_inner(self)->(HashMap,HashSet){ (self.ordered_checkpoints,self.unordered_checkpoints) } + /// Returns true if the stage has no checkpoints. #[inline] pub const fn is_empty(&self)->bool{ self.is_complete(0,0)