fix issue with alert on warn in game interface
This commit is contained in:
parent
6f1bc7ab90
commit
4b33b33d01
@ -46,7 +46,7 @@ let plugin = {
|
||||
break;
|
||||
case 'warn':
|
||||
const warningTitle = _localization.LocalizationIndex['GLOBAL_WARNING'];
|
||||
sendScriptCommand(server, 'Alert', gameEvent.Target, {
|
||||
sendScriptCommand(server, 'Alert', gameEvent.Origin, gameEvent.Target, {
|
||||
alertType: warningTitle + '!',
|
||||
message: gameEvent.Data
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user