diff --git a/src/demo/gamevent.rs b/src/demo/gamevent.rs index a4cbdf4..2cca1ae 100644 --- a/src/demo/gamevent.rs +++ b/src/demo/gamevent.rs @@ -25,7 +25,7 @@ impl Eq for GameEventDefinition {} impl PartialOrd for GameEventDefinition { fn partial_cmp(&self, other: &Self) -> Option { - self.id.partial_cmp(&other.id) + Some(self.id.cmp(&other.id)) } }