Make sure it is an active person's turn

Also, fixed a bug