This commit is contained in:
recroom2016
2022-02-18 23:55:01 -05:00
parent c18a76f440
commit 4aab2d82f5
3 changed files with 814 additions and 2 deletions

View File

@@ -28,6 +28,10 @@ namespace start
{
File.WriteAllText("SaveData\\equipment.txt", new WebClient().DownloadString("https://raw.githubusercontent.com/recroom2016/OpenRec/master/Download/equipment.txt"));
}
if (!(File.Exists("SaveData\\consumables.txt")))
{
File.WriteAllText("SaveData\\consumables.txt", new WebClient().DownloadString("https://raw.githubusercontent.com/recroom2016/OpenRec/master/Download/consumables.txt"));
}
if (!(File.Exists("SaveData\\Profile\\username.txt")))
{
File.WriteAllText("SaveData\\Profile\\username.txt", "DefaultUsername");