reset seed on mainmenu
This commit is contained in:
@@ -63,6 +63,7 @@ fn game_over_input(
|
|||||||
next_state.set(GameState::InGame);
|
next_state.set(GameState::InGame);
|
||||||
} else if input.just_pressed(KeyCode::KeyT) {
|
} else if input.just_pressed(KeyCode::KeyT) {
|
||||||
// Return to the Main Menu
|
// Return to the Main Menu
|
||||||
|
run_seed.0 = rand::random::<u64>();
|
||||||
next_state.set(GameState::MainMenu);
|
next_state.set(GameState::MainMenu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user