Fix resource path
This commit is contained in:
parent
223df31478
commit
cbe437eda8
1 changed files with 1 additions and 6 deletions
|
@ -228,12 +228,7 @@ impl Game {
|
|||
}
|
||||
|
||||
let game = {
|
||||
engine_create_info.gui_info.resource_directory = {
|
||||
let mut path = AssetPath::from(settings.data_path.as_str());
|
||||
path.assume_prefix_free();
|
||||
|
||||
path
|
||||
};
|
||||
engine_create_info.gui_info.resource_directory = settings.data_path.as_str().into();
|
||||
engine_create_info.resource_base_path = settings.data_path.clone();
|
||||
|
||||
let engine = Engine::new(engine_create_info.clone())?;
|
||||
|
|
Loading…
Reference in a new issue