From f1a60a987224cf2c9047edd5cfa06561932ba5d7 Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 27 Nov 2025 13:55:59 +0000 Subject: [PATCH] Fixed `examine` commando command (cherry picked from commit 06273eefaed05b1dd1d9dfaa3a472b4eaff7f695) --- .../Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs index 516336a6..6e9f299f 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/ProfileCommand/ProfileSptCommand.cs @@ -59,7 +59,7 @@ public class ProfileSptCommand(ISptLogger logger, MailSendSer var result = _commandRegex.Match(request.Text); - var command = result.Groups["command"].Length > 0 ? result.Groups["command"].Captures[0].Value : null; + var command = isExamine ? "examine" : (result.Groups["command"].Length > 0 ? result.Groups["command"].Captures[0].Value : null); var skill = result.Groups["skill"].Length > 0 ? result.Groups["skill"].Captures[0].Value : null; var quantity = int.Parse(result.Groups["quantity"].Length > 0 ? result.Groups["quantity"].Captures[0].Value : "0");