1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

fix issue with alert on warn in game interface

This commit is contained in:
RaidMax
2022-07-09 14:23:08 -05:00
parent cddc9297c2
commit c9b33d3097

View File

@ -46,7 +46,7 @@ let plugin = {
break; break;
case 'warn': case 'warn':
const warningTitle = _localization.LocalizationIndex['GLOBAL_WARNING']; const warningTitle = _localization.LocalizationIndex['GLOBAL_WARNING'];
sendScriptCommand(server, 'Alert', gameEvent.Target, { sendScriptCommand(server, 'Alert', gameEvent.Origin, gameEvent.Target, {
alertType: warningTitle + '!', alertType: warningTitle + '!',
message: gameEvent.Data message: gameEvent.Data
}); });