private void NeedUpdate() { ModState.SaveState(); if (Session.Instance.MpActive) { ModState.NetworkUpdate(); } }
private void SaveAndSendAll() { _firstSync = true; if (!_isServer) { return; } ModSet.SaveSettings(); ModState.SaveState(); ModSet.NetworkUpdate(); ModState.NetworkUpdate(); if (Session.Enforced.Debug >= 3) { Log.Line($"SaveAndSendAll: ModualtorId [{Modulator.EntityId}]"); } }