dedicated: null SoundEngine
This commit is contained in:
@@ -45,6 +45,7 @@ namespace OpenRA
|
|||||||
|
|
||||||
static ISoundEngine CreateEngine(string engine)
|
static ISoundEngine CreateEngine(string engine)
|
||||||
{
|
{
|
||||||
|
engine = Game.Settings.Server.Dedicated?"Null":engine;
|
||||||
switch (engine)
|
switch (engine)
|
||||||
{ /* todo: if someone cares about pluggable crap here, ship this out */
|
{ /* todo: if someone cares about pluggable crap here, ship this out */
|
||||||
case "AL": return new OpenAlSoundEngine();
|
case "AL": return new OpenAlSoundEngine();
|
||||||
|
|||||||
Reference in New Issue
Block a user