mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
single player fix
This commit is contained in:
parent
135fed79ca
commit
a5f678bc3d
7 changed files with 14 additions and 8 deletions
|
|
@ -358,8 +358,8 @@ Event_GameStateChanged::Event_GameStateChanged(bool _gameStarted, int _activePla
|
|||
itemList.append(_playerList[i]);
|
||||
}
|
||||
|
||||
Event_PlayerPropertiesChanged::Event_PlayerPropertiesChanged(ServerInfo_PlayerProperties *_properties)
|
||||
: GameEvent("player_properties_changed", -1)
|
||||
Event_PlayerPropertiesChanged::Event_PlayerPropertiesChanged(int _playerId, ServerInfo_PlayerProperties *_properties)
|
||||
: GameEvent("player_properties_changed", _playerId)
|
||||
{
|
||||
if (!_properties)
|
||||
_properties = new ServerInfo_PlayerProperties;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue