Пример #1
0
 private void NeedUpdate()
 {
     ModState.SaveState();
     if (Session.Instance.MpActive)
     {
         ModState.NetworkUpdate();
     }
 }
Пример #2
0
 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}]");
     }
 }