Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
8344920f
Commit
8344920f
authored
Sep 16, 2011
by
unknown
Browse files
minor server fix
parent
742a10cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/cockatrice.pro
View file @
8344920f
...
...
@@ -5,7 +5,7 @@ INCLUDEPATH += . src ../common
MOC_DIR
=
build
OBJECTS_DIR
=
build
RESOURCES
=
cockatrice
.
qrc
QT
+=
network
script
svg
QT
+=
network
script
svg
multimedia
CONFIG
+=
mobility
MOBILITY
=
multimedia
...
...
common/server_game.cpp
View file @
8344920f
...
...
@@ -140,6 +140,10 @@ void Server_Game::doStartGameIfReady()
Server_Player
*
player
=
playerIterator
.
next
().
value
();
player
->
setConceded
(
false
);
player
->
setReadyStart
(
false
);
}
playerIterator
.
toFront
();
while
(
playerIterator
.
hasNext
())
{
Server_Player
*
player
=
playerIterator
.
next
().
value
();
sendGameEventToPlayer
(
player
,
new
Event_GameStateChanged
(
gameStarted
,
0
,
0
,
getGameState
(
player
)));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment