diff --git a/BannerLord.Common/ModManager.cs b/BannerLord.Common/ModManager.cs
index 1a0dd90..15c27c0 100644
--- a/BannerLord.Common/ModManager.cs
+++ b/BannerLord.Common/ModManager.cs
@@ -112,6 +112,7 @@ public bool Run(string gameExe, string extraGameArguments, out string errorMessa
errorMessage = default;
if (!this._client.CanRun(gameExe, extraGameArguments)) return false;
+ gameExe ??= "Bannerlord.exe";
var actualGameExe = Path.Combine(this.GameExeFolder, gameExe);
if (string.IsNullOrEmpty(actualGameExe))
{
@@ -148,6 +149,7 @@ public bool Run(string gameExe, string extraGameArguments, out string errorMessa
//
}
+ extraGameArguments ??= "";
var args = extraGameArguments.Trim() + " " + this.GameArguments().Trim();
this.Log().Warn($"Trying to execute: {actualGameExe} {args}");
var info = new ProcessStartInfo
diff --git a/BannerLordLauncher/ViewModels/MainWindowViewModel.cs b/BannerLordLauncher/ViewModels/MainWindowViewModel.cs
index 7b7f22b..a175c7a 100644
--- a/BannerLordLauncher/ViewModels/MainWindowViewModel.cs
+++ b/BannerLordLauncher/ViewModels/MainWindowViewModel.cs
@@ -227,7 +227,7 @@ public void Initialize()
private void RunCmd()
{
- if (!this.Manager.Run(this._window.Configuration.GameExeId == 1 ? "Bannerlord_Native.exe" : "Bannerlord.exe", this._window.Configuration.ExtraGameArguments, out var error))
+ if (!this.Manager.Run(this._window.Configuration.GameExeId == 1 ? "Bannerlord.Native.exe" : "Bannerlord.exe", this._window.Configuration.ExtraGameArguments, out var error))
{
if (!string.IsNullOrEmpty(error)) this.SafeMessage(error);
return;
diff --git a/BannerLordLauncher/Views/OptionsDialog.xaml b/BannerLordLauncher/Views/OptionsDialog.xaml
index 50130bc..0adba4b 100644
--- a/BannerLordLauncher/Views/OptionsDialog.xaml
+++ b/BannerLordLauncher/Views/OptionsDialog.xaml
@@ -64,7 +64,7 @@
BannerLord.exe
- BannerLord_Native.exe
+ BannerLord.Native.exe