Skip to content

Commit d7a19ee

Browse files
Update GameStateRunActivity.cs
Extra line containing debug arguments also in non-debug compiled mode
1 parent e271395 commit d7a19ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/RunActivity/Viewer3D/Processes/GameStateRunActivity.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ internal override void Load()
231231
default:
232232
MessageBox.Show("To start " + Application.ProductName + ", please run 'OpenRails.exe'.\n\n"
233233
+ "If you are attempting to debug this component, please run 'OpenRails.exe' and execute the scenario you are interested in. "
234-
+ "In the log file, the command-line arguments used will be listed at the top. "
234+
+ "In the log file, a line with the command-line arguments used will be listed at the top. "
235235
+ "You should then configure your debug environment to execute this component with those command-line arguments.",
236236
Application.ProductName + " " + VersionInfo.VersionOrBuild);
237237
Game.Exit();
@@ -819,7 +819,7 @@ void InitLogging(UserSettings settings, string[] args, bool appendLog)
819819
Console.WriteLine("Executable = {0}", Path.GetFileName(Application.ExecutablePath));
820820
foreach (var arg in args)
821821
Console.WriteLine("Argument = {0}", arg);
822-
#if DEBUG
822+
823823
string debugArgline = "";
824824
foreach (var arg in args)
825825
{
@@ -831,7 +831,7 @@ void InitLogging(UserSettings settings, string[] args, bool appendLog)
831831
}
832832
}
833833
Console.WriteLine("Arguments = {0}", debugArgline.TrimEnd());
834-
#endif
834+
835835
LogSeparator();
836836
settings.Log();
837837
LogSeparator();

0 commit comments

Comments
 (0)