diff --git a/framework_crates/bones_utils/src/desync_hash.rs b/framework_crates/bones_utils/src/desync_hash.rs index 939dee6ff0..9504e387e3 100644 --- a/framework_crates/bones_utils/src/desync_hash.rs +++ b/framework_crates/bones_utils/src/desync_hash.rs @@ -136,6 +136,14 @@ impl DesyncHash for bool { } } +impl DesyncHash for [T; N] { + fn hash(&self, hasher: &mut dyn std::hash::Hasher) { + for value in self { + DesyncHash::hash(value, hasher); + } + } +} + impl DesyncHash for Vec { fn hash(&self, hasher: &mut dyn std::hash::Hasher) { for value in self {