mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-05 15:26:19 +00:00
fix mod loading
it was using the wrong path because i broke it :)
This commit is contained in:
@@ -229,7 +229,7 @@ impl Client {
|
||||
mod_name.remove(0); // Remove f
|
||||
debug!("Client is requesting file {}", mod_name);
|
||||
|
||||
let client_resources = config.general.get_server_resource_folder()?;
|
||||
let client_resources = config.general.get_client_resource_folder()?;
|
||||
let mod_path = fs_util::join_path_secure(Path::new(&client_resources), Path::new(&mod_name))?;
|
||||
|
||||
if !mod_path.exists() || !mod_path.is_file() {
|
||||
|
||||
Reference in New Issue
Block a user