It shows something cool yeah, but that logic will always return true
Not if one were to change the value of the gun's projectile, which is what he's trying to do.