Created code that records last shot data and saves to file.
Changed one line.