diff options
Diffstat (limited to 'src/StardewModdingAPI/Program.cs')
-rw-r--r-- | src/StardewModdingAPI/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs index ae61bc4d..0e1a2527 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -191,7 +191,7 @@ namespace StardewModdingAPI try { Program.Monitor.Log("Patching game..."); - Program.gamePtr = new SGame(); + Program.gamePtr = new SGame(Program.Monitor); // hook events Program.gamePtr.Exiting += (sender, e) => Program.ready = false; @@ -396,7 +396,7 @@ namespace StardewModdingAPI private static void ConsoleInputLoop() { while (true) - Command.CallCommand(Console.ReadLine()); + Command.CallCommand(Console.ReadLine(), Program.Monitor); } /// <summary>The method called when the user submits the help command in the console.</summary> |