Don't double set
This commit is contained in:
parent
b1dd54614a
commit
2c00285217
1 changed files with 0 additions and 16 deletions
|
@ -102,22 +102,6 @@ pub struct Engine {
|
||||||
|
|
||||||
impl Engine {
|
impl Engine {
|
||||||
pub fn new(#[allow(unused)] mut create_info: EngineCreateInfo<'_>) -> Result<Arc<Self>> {
|
pub fn new(#[allow(unused)] mut create_info: EngineCreateInfo<'_>) -> Result<Arc<Self>> {
|
||||||
create_info
|
|
||||||
.gui_info
|
|
||||||
.menu_button
|
|
||||||
.set_prefix(&create_info.resource_base_path);
|
|
||||||
create_info
|
|
||||||
.gui_info
|
|
||||||
.menu_button_selected
|
|
||||||
.set_prefix(&create_info.resource_base_path);
|
|
||||||
create_info
|
|
||||||
.gui_info
|
|
||||||
.click_sound
|
|
||||||
.set_prefix(&create_info.resource_base_path);
|
|
||||||
create_info
|
|
||||||
.gui_info
|
|
||||||
.hover_sound
|
|
||||||
.set_prefix(&create_info.resource_base_path);
|
|
||||||
if let Font::Path(path) = &mut create_info.gui_info.font {
|
if let Font::Path(path) = &mut create_info.gui_info.font {
|
||||||
path.set_prefix(&create_info.resource_base_path);
|
path.set_prefix(&create_info.resource_base_path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue