Skip to content

Commit

Permalink
fix www compile
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghugo committed Jan 9, 2025
1 parent 010e7d6 commit 44eab8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gchimp-web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ pub fn resmake(bsp_bytes: Vec<u8>, filename: &str) -> Result<String, JsValue> {

let bsp_path = Path::new(filename);

match resmake_single_bsp(&bsp, bsp_path, None, &ResMakeOptions { wad_check: false }) {
// does not include default resource by default
match resmake_single_bsp(&bsp, bsp_path, None, &ResMakeOptions { wad_check: false, include_default_resource: false }) {
Err(err) => Err(JsValue::from_str(err.to_string().as_str())),
Ok(ok) => Ok(ok),
}
Expand Down

0 comments on commit 44eab8d

Please sign in to comment.