Code duplication : Move extra call in function
BadName : More specific name choice for function
Use gearWarning.Reset() instead of GearWarning.New() to make the intent more clear.
Move declaration outside of the main function for small performance boost.
Fix null bug when the player doesn't have any gear