dedicated: null SoundEngine

This commit is contained in:
Igor Popov
2012-06-07 18:29:01 +04:00
committed by Chris Forbes
parent 2798f0d841
commit 1fbd8f6cc6

View File

@@ -45,6 +45,7 @@ namespace OpenRA
static ISoundEngine CreateEngine(string engine)
{
engine = Game.Settings.Server.Dedicated?"Null":engine;
switch (engine)
{ /* todo: if someone cares about pluggable crap here, ship this out */
case "AL": return new OpenAlSoundEngine();