Skip to content

Commit 76b8394

Browse files
Update mod.rs
Co-Authored-By: Nils Kristians Ramps-Rampans <49234603+SafeShows@users.noreply.github.com>
1 parent e9a1468 commit 76b8394

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

server/src/server/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -182,17 +182,6 @@ fn on_connect(socket: SocketRef, Data(data): Data<serde_json::Value>) {
182182
target_thread.add_player(player.clone());
183183

184184
let player_arc: Arc<horizon_data_types::Player> = Arc::new(player);
185-
// let thread_plugins = target_thread.plugins.clone();
186-
// let plugin_name = stringify!(unreal_adapter_horizon);
187-
// println!("{:?}", thread_plugins);
188-
// let plugin = match thread_plugins.get(plugin_name) {
189-
// Some(plugin) => plugin,
190-
// None => {
191-
// log_error!(LOGGER, "PLUGIN", "Plugin unreal_adapter_horizon not found");
192-
// return;
193-
// }
194-
// };
195-
// let casted_struct: unreal_adapter_horizon_plugin = plugin.instance as unreal_adapter_horizon_plugin;
196185

197186
let casted_struct = plugin_api::get_plugin!(unreal_adapter_horizon, target_thread.plugins);
198187

0 commit comments

Comments
 (0)