diff options
author | Ruslan Mustakov <r.mustakov@gmail.com> | 2017-10-04 17:18:09 +0700 |
---|---|---|
committer | Ruslan Mustakov <r.mustakov@gmail.com> | 2017-10-04 17:18:09 +0700 |
commit | c8191d04c91f9d760b8e5c8acd3700548acbfb2a (patch) | |
tree | fe8681f9d04acb582ded07e66e1639ec45cb9e35 /platform | |
parent | 6dc1025e6313d711939269e1578fff5ffc0cd30a (diff) |
Fix returning Game Center player ID
Diffstat (limited to 'platform')
-rw-r--r-- | platform/iphone/game_center.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/game_center.mm b/platform/iphone/game_center.mm index 821ef2a3ab..3955b9f0aa 100644 --- a/platform/iphone/game_center.mm +++ b/platform/iphone/game_center.mm @@ -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"; |