diff --git a/src/steam.rs b/src/steam.rs index c140d5d7..16557650 100644 --- a/src/steam.rs +++ b/src/steam.rs @@ -25,16 +25,15 @@ const APPID: u32 = 2501490; pub struct Steamworks { - pub client: steamworks::Client, pub single: parking_lot::Mutex>, } impl Steamworks { pub fn new() -> Result { - let (client, single) = steamworks::Client::init_app(APPID)?; + let (_, single) = steamworks::Client::init_app(APPID)?; let single = parking_lot::Mutex::new(single); - let steamworks = Steamworks { client, single }; + let steamworks = Steamworks { single }; Ok(steamworks) }