Commit ee32a859 authored by Colomban Wendling's avatar Colomban Wendling
Browse files

Improve a few debugging messages

parent a6a9d860
......@@ -253,7 +253,7 @@ namespace OVCC
/* can a player leave a running game? */
if (players.find (player) == null) {
warning ("Player is not on this game");
warning ("Player \"%s\" is not on this game", player.nick);
} else {
_players.remove (player);
n_players --;
......
......@@ -74,7 +74,7 @@ namespace OVCCClient
player.joined (game);
sigqueue.add (game, game.notify["current-player"].connect (() => {
debug ("Current player changed");
debug ("Current player changed to \"%s\"", game.current_player.nick);
if (game.current_player == player) {
this.place_tile (game.current_tile);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment