Fixed null pointer dereferencing

NP dereferencing when restarting game when it's already restarting. (Fast press F2 two times in a row)