Me being useless
This commit is contained in:
parent
a7d5eaf66f
commit
68134849b1
|
@ -12,7 +12,7 @@ namespace UnturnedSL
|
||||||
string title = "USL by casKd running on version " + lauversion;
|
string title = "USL by casKd running on version " + lauversion;
|
||||||
Console.Title = title;
|
Console.Title = title;
|
||||||
Console.SetWindowSize(100,20);
|
Console.SetWindowSize(100,20);
|
||||||
if (Directory.GetFiles("config").Length == 0) {FirstSetup(); } /*Checks for new users*/
|
if (Directory.GetFiles("config", ".cfg").Length == 0) {FirstSetup(); } /*Checks for new users*/
|
||||||
string[] oFiles = Directory.GetFiles("config", "*.cfg");
|
string[] oFiles = Directory.GetFiles("config", "*.cfg");
|
||||||
/*Loads settings from file and checks if all lines are present and valid*/
|
/*Loads settings from file and checks if all lines are present and valid*/
|
||||||
TextReader settings = new StreamReader(oFiles[0], true);
|
TextReader settings = new StreamReader(oFiles[0], true);
|
||||||
|
|
Reference in New Issue