Fix UpdateShieldText() to use proper variable names

Fix UpdateShieldText() to use proper variable names in if-statements