From 5167978f8c26422923fcb2ba5a4713747e8e61a5 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 21 Aug 2024 14:27:48 +0000 Subject: [PATCH] Update some log statements --- MultiversalDiplomacy/Script/GameScriptHandler.cs | 3 +-- MultiversalDiplomacy/Script/SetupScriptHandler.cs | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiversalDiplomacy/Script/GameScriptHandler.cs b/MultiversalDiplomacy/Script/GameScriptHandler.cs index 295f669..76f43de 100644 --- a/MultiversalDiplomacy/Script/GameScriptHandler.cs +++ b/MultiversalDiplomacy/Script/GameScriptHandler.cs @@ -27,6 +27,7 @@ public class GameScriptHandler(World world, bool strict = false) : IScriptHandle // "---" submits the orders for validation to allow for assertions about it if (input == "---") { + Console.WriteLine("Submitting orders for validation"); // TODO submit orders return new ValidatedOrdersScriptHandler(World, Strict); } @@ -43,8 +44,6 @@ public class GameScriptHandler(World world, bool strict = false) : IScriptHandle return null; } - Console.WriteLine($"{CurrentPower}: {input}"); - return this; } diff --git a/MultiversalDiplomacy/Script/SetupScriptHandler.cs b/MultiversalDiplomacy/Script/SetupScriptHandler.cs index 2d62082..7af700a 100644 --- a/MultiversalDiplomacy/Script/SetupScriptHandler.cs +++ b/MultiversalDiplomacy/Script/SetupScriptHandler.cs @@ -44,6 +44,7 @@ public class SetupScriptHandler(World world, bool strict = false) : IScriptHandl case "begin": case "---": + Console.WriteLine("Starting game"); return new GameScriptHandler(World, Strict); case "list" when args.Length == 1: