Skip visual ticks when in the middle of invisible network testing.

This commit is contained in:
Tim Young 2018-10-05 10:24:10 -05:00
parent c4c58b59bd
commit fbfc1e148b

View File

@ -1661,6 +1661,7 @@ namespace EduNetworkBuilder
public void Tick(bool SkipVisuals = false) public void Tick(bool SkipVisuals = false)
{ {
if (!SkipVisuals && NB.ProcessingInvisibleNetwork()) return; //We skip visual ticks while doing invisible ones
if (!SkipVisuals) if (!SkipVisuals)
{ {
foreach (AnimationClass one in Animations) foreach (AnimationClass one in Animations)