|
@@ -3522,7 +3522,7 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
for (int index = 0; index < 5; ++index)
|
|
for (int index = 0; index < 5; ++index)
|
|
{
|
|
{
|
|
original = Resources.Load("Prefab/" + doguArray[doguIndex[doguSelectIndex]]);
|
|
original = Resources.Load("Prefab/" + doguArray[doguIndex[doguSelectIndex]]);
|
|
- if (!(original != null))
|
|
|
|
|
|
+ if (original == null)
|
|
{
|
|
{
|
|
List<int> doguIndex;
|
|
List<int> doguIndex;
|
|
int doguSelectIndex;
|
|
int doguSelectIndex;
|
|
@@ -5131,7 +5131,7 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
if (loadPose[i] != "" && isLoadPose[i])
|
|
if (loadPose[i] != "" && isLoadPose[i])
|
|
{
|
|
{
|
|
IniKey iniKey = Preferences["pose"][loadPose[i]];
|
|
IniKey iniKey = Preferences["pose"][loadPose[i]];
|
|
- if (iniKey.Value == null || !(iniKey.Value.ToString() != "") || !(iniKey.Value.ToString() != "del"))
|
|
|
|
|
|
+ if (iniKey.Value == null || iniKey.Value.ToString() == "" || iniKey.Value.ToString() == "del")
|
|
{
|
|
{
|
|
loadPose[i] = "";
|
|
loadPose[i] = "";
|
|
isLoadPose[i] = false;
|
|
isLoadPose[i] = false;
|
|
@@ -5682,7 +5682,7 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
if (loadScene > 0)
|
|
if (loadScene > 0)
|
|
{
|
|
{
|
|
IniKey iniKey = Preferences["scene"]["s" + loadScene];
|
|
IniKey iniKey = Preferences["scene"]["s" + loadScene];
|
|
- if (iniKey.Value == null || !(iniKey.Value.ToString() != ""))
|
|
|
|
|
|
+ if (iniKey.Value == null || iniKey.Value.ToString() == "")
|
|
{
|
|
{
|
|
loadScene = 0;
|
|
loadScene = 0;
|
|
}
|
|
}
|