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:
parent
befde520fd
commit
207e88fe6f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user