Add chat notification audio
This commit is contained in:
@@ -41,8 +41,6 @@ namespace OpenRA.Mods.RA
|
||||
Game.MoveViewport(ViewportOrigin);
|
||||
|
||||
Actors = w.WorldActor.Trait<SpawnMapActors>().Actors;
|
||||
// Mute world sounds
|
||||
Sound.SoundVolumeModifier = 0f;
|
||||
|
||||
LoopMusic();
|
||||
|
||||
|
||||
@@ -271,6 +271,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||
|
||||
chatPanel.AddChild(template);
|
||||
chatPanel.ScrollToBottom();
|
||||
Sound.Play("scold2.aud");
|
||||
}
|
||||
|
||||
void UpdateCurrentMap()
|
||||
|
||||
@@ -19,6 +19,7 @@ Container@INGAME_ROOT:
|
||||
DrawBackground: False
|
||||
RemoveTime:250
|
||||
UseContrast: yes
|
||||
Notification: scold2.aud
|
||||
ChatEntry@CHAT_ENTRY:
|
||||
Id:CHAT_ENTRY
|
||||
X:250
|
||||
|
||||
Reference in New Issue
Block a user