Fix admin announce formatting

This commit is contained in:
Vortrex
2022-05-03 12:05:14 -05:00
parent bc444c3fc5
commit 29b2b94aac

View File

@@ -23,7 +23,7 @@ function announceAdminAction(localeString, ...args) {
messagePlayerNormal(clients[i], `⚠️ ${messageText}`, getColourByName("orange"));
}
messageDiscordEventChannel(getLanguageLocaleString.apply(null, [0, localeString, args]));
messageDiscordEventChannel(getLanguageLocaleString.apply(null, [0, localeString].concat(args)));
}
// ===========================================================================