|
@@ -1536,15 +1536,6 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
isStop[selectMaidIndex] = true;
|
|
isStop[selectMaidIndex] = true;
|
|
}
|
|
}
|
|
|
|
|
|
- if (saveScene > 0)
|
|
|
|
- {
|
|
|
|
- string sceneString = SerializeScene();
|
|
|
|
-
|
|
|
|
- Preferences["scene"]["s" + saveScene].Value = sceneString;
|
|
|
|
- SaveConfig();
|
|
|
|
- saveScene = 0;
|
|
|
|
- };
|
|
|
|
-
|
|
|
|
for (int index = 0; index < maidCnt; ++index)
|
|
for (int index = 0; index < maidCnt; ++index)
|
|
{
|
|
{
|
|
if (haraCount[index] > 0)
|
|
if (haraCount[index] > 0)
|
|
@@ -6945,13 +6936,8 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
|
|
|
|
public string SerializeScene(bool saveManager = false)
|
|
public string SerializeScene(bool saveManager = false)
|
|
{
|
|
{
|
|
- int oldPage = page;
|
|
|
|
- int oldSaveScene = saveScene;
|
|
|
|
- if (saveManager)
|
|
|
|
- {
|
|
|
|
- page = 0;
|
|
|
|
- saveScene = 1;
|
|
|
|
- }
|
|
|
|
|
|
+ page = 0;
|
|
|
|
+ saveScene = 1;
|
|
string str1 = "";
|
|
string str1 = "";
|
|
string str2 = "";
|
|
string str2 = "";
|
|
DateTime now = DateTime.Now;
|
|
DateTime now = DateTime.Now;
|
|
@@ -6962,11 +6948,6 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
date[saveScene - 1 - page * 10] = str3;
|
|
date[saveScene - 1 - page * 10] = str3;
|
|
ninzu[saveScene - 1 - page * 10] = maidCnt.ToString() + "人";
|
|
ninzu[saveScene - 1 - page * 10] = maidCnt.ToString() + "人";
|
|
}
|
|
}
|
|
- if (saveManager)
|
|
|
|
- {
|
|
|
|
- page = oldPage;
|
|
|
|
- saveScene = oldSaveScene;
|
|
|
|
- }
|
|
|
|
|
|
|
|
string[] strArray1 = new string[7]
|
|
string[] strArray1 = new string[7]
|
|
{
|
|
{
|