Do not ding if we are processing stuff invisibly

This commit is contained in:
Tim Young 2017-08-17 10:40:32 -05:00
parent a928f6b01c
commit 5dc89ffe37

View File

@ -593,6 +593,9 @@ namespace EduNetworkBuilder
public static void PlaySound(NBSoundType What)
{
BuilderWindow BW = GetBuilderWin();
if (BW != null && BW.ProcessingInvisibleNet())
return; //Do not ding if we are doing invisible stuff
SoundPlayer sndClick;
switch (What)
{