Unwanted delay when transitioning from variable to another

Ran some checks and noticed that shield took one extra tick of damage which caused the delay. With your tips I was able to find a fix so thank you!