diff --git a/src/weather_magic/world.cljs b/src/weather_magic/world.cljs index 4dfdaa7..3f6b2ef 100644 --- a/src/weather_magic/world.cljs +++ b/src/weather_magic/world.cljs @@ -147,4 +147,4 @@ (reset! state/earth-animation-fn go-to-view!))) ;; THIS IS BAD AND I SHOULD FEEL BAD. -(reset! state/earth-animation-fn spin-earth!) +(defonce init-animation-fn (reset! state/earth-animation-fn spin-earth!))