Fix returning Game Center player ID
This commit is contained in:
parent
6dc1025e63
commit
c8191d04c9
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ Error GameCenter::connect() {
|
|||
ret["type"] = "authentication";
|
||||
if (player.isAuthenticated) {
|
||||
ret["result"] = "ok";
|
||||
ret["player_id"] = player.playerID;
|
||||
ret["player_id"] = [player.playerID UTF8String];
|
||||
GameCenter::get_singleton()->connected = true;
|
||||
} else {
|
||||
ret["result"] = "error";
|
||||
|
|
Loading…
Reference in a new issue