From eb937dd512c1c642591071f087f8d8cc6ccc68dd Mon Sep 17 00:00:00 2001 From: in0finite Date: Mon, 22 Feb 2021 22:20:36 +0100 Subject: [PATCH] send command back to player --- Assets/Scripts/Chat/Chat2Commands.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Scripts/Chat/Chat2Commands.cs b/Assets/Scripts/Chat/Chat2Commands.cs index 0a1fc0b5..22e0f733 100644 --- a/Assets/Scripts/Chat/Chat2Commands.cs +++ b/Assets/Scripts/Chat/Chat2Commands.cs @@ -40,6 +40,9 @@ namespace SanAndreasUnity.Chat response = exception.Message; } + // send command back to player + ChatManager.SendChatMessageToPlayer(player, chatMessage); + // send response back to player if (!string.IsNullOrWhiteSpace(response)) ChatManager.SendChatMessageToPlayer(player, response);