Fixed error; added an AmmoManager for testing