The console server can now be fully used for a single game. The first player to join the game is admin, he can start the game and kick players.
However, if the admin player leaves, a new game can only be started if all players have left before (this is a bug, admin status should be passed to another player).
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@
|
||||
|
||||
#include <playerdata.h>
|
||||
|
||||
PlayerData::PlayerData(unsigned uniqueId, int number, PlayerType type)
|
||||
: m_uniqueId(uniqueId), m_number(number), m_type(type)
|
||||
PlayerData::PlayerData(unsigned uniqueId, int number, PlayerType type, PlayerRights rights)
|
||||
: m_uniqueId(uniqueId), m_number(number), m_type(type), m_rights(rights)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user