Setting Variable working/not working randomly!

i just did a breakpoint and the debug is claiming its being set to true so I dont see what the problem is here.