Only check if moving into check if it is a valid move.
Only check if moving into check if it is a valid move.

smrealms/smrv2.0,tmaus/smr,gamedevforks/smr,gamedevforks/smr,hemberger/smr,hemberger/smr,smrealms/smrv2.0,gamedevforks/smr,Curufir/smr,hemberger/smr,hemberger/smr,smrealms/smr,smrealms/smrv2.0,smrealms/smrv2.0,gamedevforks/smr,tmaus/smr,Curufir/smr,smrealms/smr,smrealms/smr,Curufir/smr