Skip visual ticks when in the middle of invisible network testing.
This commit is contained in:
parent
c4c58b59bd
commit
fbfc1e148b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user