Use mission notifications pool with appropriate chat line template
This commit is contained in:
committed by
Matthias Mailänder
parent
a71da0a25a
commit
3310f14dea
@@ -194,7 +194,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
return;
|
||||
|
||||
var c = color.HasValue ? color.Value : Color.White;
|
||||
TextNotificationsManager.AddChatLine(prefix, text, c);
|
||||
TextNotificationsManager.AddMissionLine(prefix, text, c);
|
||||
}
|
||||
|
||||
[Desc("Display a system message to the player. If 'prefix' is nil the default system prefix is used.")]
|
||||
|
||||
Reference in New Issue
Block a user