mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-04-22 03:49:35 +08:00
没有保存……
This commit is contained in:
parent
2f86ba0115
commit
185bb8ae37
@ -489,6 +489,7 @@ namespace Oshima.Core.Controllers
|
|||||||
PluginConfig pc = new("saved", userid.ToString());
|
PluginConfig pc = new("saved", userid.ToString());
|
||||||
pc.LoadConfig();
|
pc.LoadConfig();
|
||||||
pc.Add("user", user);
|
pc.Add("user", user);
|
||||||
|
pc.SaveConfig();
|
||||||
return NetworkUtility.JsonSerialize($"创建存档成功!你的用户名是【{username}】。");
|
return NetworkUtility.JsonSerialize($"创建存档成功!你的用户名是【{username}】。");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -590,6 +591,7 @@ namespace Oshima.Core.Controllers
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
pc.SaveConfig();
|
||||||
return NetworkUtility.JsonSerialize(msg + "】!");
|
return NetworkUtility.JsonSerialize(msg + "】!");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user