diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-23 00:36:25 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-23 00:36:25 +0200 |
commit | e00fa55e4984377956a50ad980c53b43715bea6c (patch) | |
tree | fbeca868906397c5f0d6fef189899458e67512c7 /pixel-client/src/main.rs | |
parent | ebc77dc48ef7f97ab946f334f642da9bf69a7e99 (diff) | |
download | hurrycurry-e00fa55e4984377956a50ad980c53b43715bea6c.tar hurrycurry-e00fa55e4984377956a50ad980c53b43715bea6c.tar.bz2 hurrycurry-e00fa55e4984377956a50ad980c53b43715bea6c.tar.zst |
pc: menu background
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(), |