Yes indeed and he distracted the attacker to most likely draw him away from a line a fire that could possibly hit innocent bystanders.
No mention on the type of gun, caliber or bullet point type, but I’m thinking attacker left and subsequently tasered by police not realizing he was shot most likely small caliber with standard point.
My thought, too.