Fix function "EachKingCheck"