0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:30:45 -05:00

Improved performAction logic

# Conflicts:
#	project/src/helpers/Dialogue/Commando/SptCommands/GiveCommand/GiveSptCommand.ts
This commit is contained in:
Chomp 2024-12-21 22:52:17 +00:00 committed by Refringe
parent befde520fd
commit 207e88fe6f
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k

View File

@ -119,7 +119,7 @@ export class GiveSptCommand implements ISptCommand {
if (isItemName) {
try {
locale = result[4] ? result[4] : this.localeService.getDesiredGameLocale() ?? "en";
locale = result[4] ?? this.localeService.getDesiredGameLocale() ?? "en";
} catch (e) {
this.mailSendService.sendUserMessageToPlayer(
sessionId,