fixed network games, part 2: set player focus after setting local player
authorHolger Schemel <info@artsoft.org>
Fri, 18 May 2018 08:04:37 +0000 (10:04 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 18 May 2018 08:04:37 +0000 (10:04 +0200)
commitc3efcbe424037ee1c2ec2d6e22ecfea4de589c47
treeb71746ae5d98e806e7c770568f02db5c87c90fde
parentb8803f08af3cf07efed781124417be11c1a306ee
fixed network games, part 2: set player focus after setting local player

There was also a bug with setting the focussed player to the local
player where the local player potentially changed afterwards (if the
player for network games was assigned to any player in the playfield
different from the player that was selected for network games by the
user on program start).

To fix this, the code to set the focussed player for network games was
moved to a point after setting the local player.
src/game.c