fixed exiting players with custom elements when playing multi-player games
authorHolger Schemel <info@artsoft.org>
Fri, 17 Aug 2018 09:30:02 +0000 (11:30 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 17 Aug 2018 09:30:02 +0000 (11:30 +0200)
commit6687b5314f1e08eb7364c0c5d753b96db18f6089
tree6809b2887a4a64f2a19da34d3c795f7f9b14b2c1
parent9e4358919afd28bdb4481eaf8daf4dcd4eca3e02
fixed exiting players with custom elements when playing multi-player games

Before, exiting a player using custom element actions only worked in
single-player mode. (In multi-player mode, the level was either
immediately solved if the exited player was the "local player"
(ignoring other players still existing on the playfield), or the
exited player was not removed from the playfield, if it was not the
"local player".)

Now it works correctly also in multi-player games.
src/game.c