Do not ding if we are processing stuff invisibly
This commit is contained in:
parent
a928f6b01c
commit
5dc89ffe37
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user