Unstatic the Sound class.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
recentLines.Add(new ChatLine(from, text, Game.LocalTick + RemoveTime, c));
|
||||
|
||||
if (Notification != null)
|
||||
Sound.Play(Notification);
|
||||
Game.Sound.Play(Notification);
|
||||
|
||||
while (recentLines.Count > LogLength)
|
||||
recentLines.RemoveAt(0);
|
||||
|
||||
Reference in New Issue
Block a user