mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
A bit more logging
This commit is contained in:
parent
b6b628a9e9
commit
c0d065a28e
2 changed files with 6 additions and 0 deletions
|
@ -302,6 +302,7 @@ impl App {
|
|||
});
|
||||
saved_state.times_started += 1;
|
||||
|
||||
info!("Setting fonts...");
|
||||
Self::set_fonts(&cc.egui_ctx);
|
||||
let state = if let Some(lang_id) = &saved_state.lang_id {
|
||||
set_current_locale(lang_id.clone());
|
||||
|
@ -310,10 +311,13 @@ impl App {
|
|||
AppState::LangPick
|
||||
};
|
||||
|
||||
info!("Installing image loaders...");
|
||||
egui_extras::install_image_loaders(&cc.egui_ctx);
|
||||
|
||||
info!("Initializing steam state...");
|
||||
let steam_state = steam_helper::SteamState::new();
|
||||
|
||||
info!("Checking if running on steam deck...");
|
||||
let running_on_steamdeck = steam_state
|
||||
.as_ref()
|
||||
.map(|steam| steam.client.utils().is_steam_running_on_steam_deck())
|
||||
|
|
|
@ -37,7 +37,9 @@ impl SteamState {
|
|||
));
|
||||
}
|
||||
let app_id = env::var("NP_APPID").ok().and_then(|x| x.parse().ok());
|
||||
info!("Initializing steam client...");
|
||||
let (client, single) = steamworks::Client::init_app(app_id.unwrap_or(881100))?;
|
||||
info!("Initializing relay network accesss...");
|
||||
client.networking_utils().init_relay_network_access();
|
||||
if let Err(err) = client.networking_sockets().init_authentication() {
|
||||
error!("Failed to init_authentication: {}", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue