Fix more world generator path weirdness
This commit is contained in:
@@ -56,7 +56,9 @@ namespace Torch.Server
|
||||
string localizedName = MyTexts.GetString(sessionNameId);
|
||||
var checkpoint = MyLocalCache.LoadCheckpoint(directory, out _);
|
||||
checkpoint.OnlineMode = MyOnlineModeEnum.PUBLIC;
|
||||
_checkpoints.Add(new PremadeCheckpointItem { Name = localizedName, Icon = Path.Combine(directory.Replace("Sandbox.sbc", ""), "thumb.jpg"), Path = directory, Checkpoint = checkpoint});
|
||||
// Keen, why do random checkpoints point to the SBC and not the folder!
|
||||
directory = directory.Replace("Sandbox.sbc", "");
|
||||
_checkpoints.Add(new PremadeCheckpointItem { Name = localizedName, Icon = Path.Combine(directory, "thumb.jpg"), Path = directory, Checkpoint = checkpoint});
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user