Moved Splashscreen method into if statement

GitHub updated as I tried to upload, I hope it didn't break anything.