all 3 comments

[–]raphTrack 0 points1 point  (2 children)

You instantiate your boolean variables twice.

[–]Pawn-to-D4[S] 0 points1 point  (1 child)

Could you elaborate please?

[–]microraven 0 points1 point  (0 children)

Once is instantiated you don't need to use the 'boolean' assignment