diff --git a/all-is-cubes/src/block/attributes.rs b/all-is-cubes/src/block/attributes.rs index 89b94c699..b55fc0939 100644 --- a/all-is-cubes/src/block/attributes.rs +++ b/all-is-cubes/src/block/attributes.rs @@ -97,7 +97,7 @@ impl BlockAttributes { tick_action: None, animation_hint: AnimationHint::UNCHANGING, }; - const DEFAULT_REF: &Self = &Self::DEFAULT; + const DEFAULT_REF: &'static Self = &Self::DEFAULT; /// Block attributes suitable as default values for in-game use. ///