From 98520e5e0cb3572578338e78f91377e3d3e64e23 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Fri, 19 Feb 2021 12:54:48 +0000 Subject: [PATCH] Update SectorSync.cs --- QSB/SectorSync/SectorSync.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/QSB/SectorSync/SectorSync.cs b/QSB/SectorSync/SectorSync.cs index 03970077..51cab469 100644 --- a/QSB/SectorSync/SectorSync.cs +++ b/QSB/SectorSync/SectorSync.cs @@ -9,6 +9,9 @@ namespace QSB.SectorSync { public class SectorSync : MonoBehaviour, IRepeating { + private void OnEnable() => RepeatingManager.Repeatings.Add(this); + private void OnDisable() => RepeatingManager.Repeatings.Remove(this); + public void Invoke() { if (!QSBSectorManager.Instance.IsReady)