aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pixel-client/src/main.rs')
-rw-r--r--pixel-client/src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs
index c43680ae..1dd34e72 100644
--- a/pixel-client/src/main.rs
+++ b/pixel-client/src/main.rs
@@ -15,13 +15,14 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-#![feature(map_many_mut, path_add_extension)]
+#![feature(map_many_mut, path_add_extension, iterator_try_collect)]
use anyhow::{anyhow, Result};
use clap::{Parser, Subcommand};
use config::Config;
use game::Game;
use hurrycurry_client_lib::network::sync::Network;
use hurrycurry_protocol::glam::Vec2;
+use strings::set_language;
use menu::{ingame::IngameMenu, main::MainMenu};
use profiler::ProfilerOverlay;
use render::Renderer;
@@ -31,6 +32,7 @@ use std::time::{Duration, Instant};
pub mod config;
pub mod game;
pub mod helper;
+pub mod strings;
pub mod menu;
pub mod profiler;
pub mod render;
@@ -64,6 +66,7 @@ fn main() -> Result<()> {
let args = Args::parse();
let mut config = Config::load()?;
+ set_language("de");
rustls::crypto::ring::default_provider()
.install_default()