Пример #1
0
        public void Save()
        {
            if (IsSaving)
            {
                return;
            }

            PropertiesWriter.Serialize(serverConfig);
            IsSaving = true;
            worldPersistence.Save(world, serverConfig.SaveName);
            IsSaving = false;
        }