Need guidance on small code

Ahh that make alot of sense. Stupid mistake i didn't spot.

Well ty alot for the help.