In main.rs
at State::new
, there isn’t self
. so remove self.
&mut self.ecs -> &mut ecs
However, at reset_game_level
needs self
, so it is not same change at State::new
.
In main.rs
at State::new
, there isn’t self
. so remove self.
&mut self.ecs -> &mut ecs
However, at reset_game_level
needs self
, so it is not same change at State::new
.