Skip to content

Commit

Permalink
fix steam lobby cli connect
Browse files Browse the repository at this point in the history
  • Loading branch information
bgkillas committed Feb 6, 2025
1 parent da69cbb commit 150928f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noita-proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ pub fn connect_cli(lobby: String, args: Args) {
PeerVariant::Tangled(p)
} else if let Some(state) = state {
let peer = net::steam_networking::SteamPeer::new_connect(
lobby.trim().parse().map(LobbyId::from_raw).unwrap(),
LobbyCode::parse(lobby.trim()).unwrap().code,
state.client,
);
PeerVariant::Steam(peer)
Expand Down

0 comments on commit 150928f

Please sign in to comment.