Change init of state
All checks were successful
Rust Checks / checks (push) Successful in 1m3s
Rust Checks / checks (pull_request) Successful in 1m3s

This commit is contained in:
CoCo_Sol 2024-02-10 00:35:23 +01:00
parent 9a9e68bf2c
commit e9d7052746

View file

@ -7,7 +7,7 @@ use border_wars::GameState;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.init_resource::<State<GameState>>()
.add_state::<GameState>()
.add_plugins(MenuPlugin)
.run();
}