public override void Tick() { if (fetcher == null || failed) { return; } CheckCurrentProgress(); if (!fetcher.Check(SetStatus)) { failed = true; } if (!fetcher.Done) { return; } if (ResourceList.GetFetchFlags() != 0) { ResourcePatcher patcher = new ResourcePatcher(fetcher, drawer); patcher.Run(); } fetcher = null; GC.Collect(); game.TryLoadTexturePack(); GotoNextMenu(0, 0); }