Boolean doesnt change

When it is the player controller the boolean doesn’t change.

This is in an actor blueprint.