diff options
Diffstat (limited to 'pixel-client/src/main.rs')
-rw-r--r-- | pixel-client/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs index 68c5b66a..0ebe7b44 100644 --- a/pixel-client/src/main.rs +++ b/pixel-client/src/main.rs @@ -88,7 +88,7 @@ fn main() { let mut renderer = Renderer::init(&texture_creator); let mut state = match args.action.unwrap_or_default() { - Action::Menu => State::Menu(Menu::new()), + Action::Menu => State::Menu(Menu::new(renderer.atlas_layout())), Action::Join { server_address } => State::Ingame(Box::new(Game::new( Network::connect(&server_address).unwrap(), renderer.atlas_layout(), |