Making sure it is players turn before allowing actions