Skip to content

Commit

Permalink
asc: fix optionals with addons prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 15, 2023
1 parent cfea99d commit baa0a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/src/modules/asc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ impl Module for ArmaScriptCompiler {
.prefix()
.to_string()
.replace('\\', "/")
.trim_end_matches(&addon.folder().replace("optionals/", "addons/"))
.trim_end_matches(&addon.folder()),
entry.as_str().to_string().trim_start_matches('/'),
),
Expand Down

0 comments on commit baa0a86

Please sign in to comment.