From d292f9aaeb7ff35b90337dadc7df734bd175b2cb Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sat, 13 Aug 2022 03:52:05 +0700 Subject: [PATCH] Fix announcing instigator instead of target for 'nick' command --- sources/Commands/ACommandNick_Announcer.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Commands/ACommandNick_Announcer.uc b/sources/Commands/ACommandNick_Announcer.uc index 01de56f..2dbd20e 100644 --- a/sources/Commands/ACommandNick_Announcer.uc +++ b/sources/Commands/ACommandNick_Announcer.uc @@ -42,7 +42,7 @@ public final function AnnounceChangedNickname(BaseText newNickname) "%%instigator%% {$TextNeutral changed} their own nickname to" @ "\"%1\""); changedNickname.toOtherReport = _.text.MakeTemplate_S( - "Nickname for %%instigator%% {$TextNeutral changed} to" + "Nickname for %%target%% {$TextNeutral changed} to" @ "\"%1\""); changedNickname.toOtherPrivate = _.text.MakeTemplate_S( "%%instigator%% {$TextNeutral changed} your nickname to \"%1\""); @@ -74,7 +74,7 @@ public final function AnnounceChangedAlteredNickname( "%%instigator%% has {$TextNeutral changed} their own nickname to" @ "\"%1\", but it was altered by the game into \"%2\""); changedAlteredNickname.toOtherReport = _.text.MakeTemplate_S( - "Nickname for %%instigator%% was {$TextNeutral changed} to" + "Nickname for %%target%% was {$TextNeutral changed} to" @ "\"%1\", but then got altered by the game into \"%2\""); changedAlteredNickname.toOtherPrivate = _.text.MakeTemplate_S( "%%instigator%% has {$TextNeutral changed} your nickname to \"%1\","