Because of the pass-by-reference parameter in the VoiceNumber function, if the game's state is updated while a number is being spoken out, the state doesn't reflect. This means that if you were to fire your weapon during an ammunition readout, the ammo count wouldn't decrease.
Because of the pass-by-reference parameter in the
VoiceNumber
function, if the game's state is updated while a number is being spoken out, the state doesn't reflect. This means that if you were to fire your weapon during an ammunition readout, the ammo count wouldn't decrease.