Splitting assignments between functions complicates refactoring. Also rename 'hit_final' to 'hit', since there are no longer a local 'hit' variable defined in these functions.
Splitting assignments between functions complicates refactoring. Also rename 'hit_final' to 'hit', since there are no longer a local 'hit' variable defined in these functions.