APlayerController::IsLocalController is changing state

Steps to Reproduce

  1. Load a map as a listen server.
  2. Have another player connect to you.
  3. On the server transition to a map with net mode Standalone.
  4. Somewhere in code call IsLocalController on a client player controller on the server during transition (e.g. EndPlay of a player controller component, etc.).
  5. See that APlayerController::IsLocalController will set the flag bIsLocalPlayerController to true, which changes the state of a controller to be local, even if it belongs to a client.