diff --git a/OpenRA.Game/Chat.cs b/OpenRA.Game/Chat.cs index 910f5fdcc5..892153233d 100644 --- a/OpenRA.Game/Chat.cs +++ b/OpenRA.Game/Chat.cs @@ -68,7 +68,7 @@ namespace OpenRA public void AddLine(Color c, string from, string text) { recentLines.Add(Tuple.New(c, from, text)); - var eva = Game.world.WorldActor.Info.Traits.Get(); + var eva = Rules.Info["world"].Traits.Get(); Sound.Play(eva.ChatBeep); while (recentLines.Count > logLength) recentLines.RemoveAt(0); }