Fixed nil issue when error occurs after game is running.
Closes #1 Fix courtesy of DoctorVanGogh