mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Changes.
This commit is contained in:
parent
32fc6ed13d
commit
d4daa694e1
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ namespace ShiftOS.Server
|
|||
public static void SaveGame(string guid, object contents)
|
||||
{
|
||||
var sav = contents as Save;
|
||||
if (string.IsNullOrWhiteSpace(sav.Username))
|
||||
return;
|
||||
sav.Username = sav.Username.ToLower();
|
||||
WriteEncFile("saves/" + sav.Username + ".save", JsonConvert.SerializeObject(sav, Formatting.Indented));
|
||||
|
||||
|
|
Loading…
Reference in a new issue