Thank you very much for your input!
I have now centralized all the code for weapon selection in order to add weapons in the future without problems.
Regarding the knife, I'm aware of the issue of not being able to display the selected weapon even if the knife is still present after all weapons have been consumed, as this was deliberately designed by me.
Thank you very much for your input again!