Asteroids 7.8

Fixed undefined error, made it more efficient.