idk why it's not working

This commit is contained in:
LTP
2021-02-12 00:45:51 +07:00
parent e5cb3e5ae0
commit b372230eae
2 changed files with 16 additions and 5 deletions

View File

@@ -7,10 +7,10 @@ namespace Torch.Utils
{
public static MyObjectBuilder_Checkpoint.ModItem Create(ulong modId)
{
var serviceName = "Steam";
if (MyGameService.IsOnline)
serviceName = MyGameService.GetDefaultUGC().ServiceName;
return new MyObjectBuilder_Checkpoint.ModItem(modId, serviceName);
return new MyObjectBuilder_Checkpoint.ModItem(modId, GetDefaultServiceName());
}
//because KEEEN!
public static string GetDefaultServiceName() => "Steam";
}
}