Use mission notifications pool with appropriate chat line template
This commit is contained in:
committed by
Matthias Mailänder
parent
a71da0a25a
commit
3310f14dea
@@ -31,6 +31,11 @@ namespace OpenRA
|
||||
AddTextNotification(TextNotificationPool.Feedback, SystemMessageLabel, text);
|
||||
}
|
||||
|
||||
public static void AddMissionLine(string prefix, string text, Color? prefixColor = null)
|
||||
{
|
||||
AddTextNotification(TextNotificationPool.Mission, prefix, text, prefixColor);
|
||||
}
|
||||
|
||||
public static void AddSystemLine(string text)
|
||||
{
|
||||
AddSystemLine(SystemMessageLabel, text);
|
||||
|
||||
Reference in New Issue
Block a user