I found this in one of my first league games. Player #1 is fouled while shooting and then, before Player #1 takes the foul shots, Player #2 gets substituted in for Player #1. So, Player #2 takes the foul shots. This is definitely wrong.
Overall though, I'm impressed with the game engine.