From ca00a897ec1653455fdadeaae3beb2691b20bcb3 Mon Sep 17 00:00:00 2001 From: Christopher Satchell Date: Sun, 23 Apr 2023 12:37:15 +0200 Subject: [PATCH] Speed up keypad response --- Game/Modules/Keypad.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Game/Modules/Keypad.cs b/Game/Modules/Keypad.cs index c780700..bf3e979 100644 --- a/Game/Modules/Keypad.cs +++ b/Game/Modules/Keypad.cs @@ -111,7 +111,7 @@ public override string Process(string command, Bomb bomb) List output = this.symbols.OrderBy(column.IndexOf).ToList(); - return $"First is {output[0]}, then {output[1]}, then {output[2]}, then {output[3]}."; + return $"{string.Join(", ", output)}."; } } } \ No newline at end of file