added call to CheckForWin in state_modifiers