diff --git a/funcs/miscFuncs.py b/funcs/miscFuncs.py index 1cf2d0b..ae0ef31 100644 --- a/funcs/miscFuncs.py +++ b/funcs/miscFuncs.py @@ -204,6 +204,16 @@ def makeFiles(): f.write("The Room") finally: f.close() + + # Creates names.txt if it doesn't exist + try: + f = open("resources/names.txt","r") + except: + logThis("names.txt didn't exist. Making it now.") + with open("resources/names.txt","w") as f: + f.write("Gandalf") + finally: + f.close() # Creates token.txt if it doesn't exist try: