Skip to content

Commit

Permalink
Fix typo in command line for IW3xport
Browse files Browse the repository at this point in the history
  • Loading branch information
Louvenarde committed Nov 19, 2023
1 parent b6c38e5 commit b3c2d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers/IW3xportHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static int DumpMap(Map map, ref Paths paths, bool correctSpeculars, bool
StartInfo = new ProcessStartInfo {
FileName = exePath,
WorkingDirectory = paths.IW3Path,
Arguments = $"-stdout +set iw3x_correct_speculars {(correctSpeculars ? 1 : 0)} +set iw3x_convert_gsc {(correctSpeculars ? 1 : 0)} +set iw3x_smodels_fix_method {correctSmodelsMethod} +set iw3x_add_care_packages {(addCarePackages ? 1 : 0)} +set export_path {GetDumpDestinationPath(ref map, ref paths)} +dumpmap {map.Name} +quit",
Arguments = $"-stdout +set iw3x_correct_speculars {(correctSpeculars ? 1 : 0)} +set iw3x_convert_gsc {(convertGSCs ? 1 : 0)} +set iw3x_smodels_fix_method {correctSmodelsMethod} +set iw3x_add_care_packages {(addCarePackages ? 1 : 0)} +set export_path {GetDumpDestinationPath(ref map, ref paths)} +dumpmap {map.Name} +quit",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true,
Expand Down

0 comments on commit b3c2d61

Please sign in to comment.