Skip to content

Commit

Permalink
fix: Fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxCWhitehead committed Nov 2, 2024
1 parent 9d54e95 commit a48df5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/main_menu/player_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ pub fn widget(
localization: Localization<GameMeta>,
controls: Res<GlobalPlayerControls>,
world: &World,

#[cfg(not(target_arch = "wasm32"))] asset_server: Res<AssetServer>,
asset_server: Res<AssetServer>,
#[cfg(not(target_arch = "wasm32"))] network_socket: Option<Res<NetworkMatchSocket>>,
) {
let mut state = ui.ctx().get_state::<PlayerSelectState>();
Expand Down

0 comments on commit a48df5c

Please sign in to comment.