diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-09 12:23:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-09 12:23:48 +0200 |
commit | 7e05d249e6756f8d6c4cd5963043072ec1529f61 (patch) | |
tree | d8be27e5590a9b94198e137c5d0c9414dd26a04e /platform/iphone | |
parent | ad85acfe31dedf6937a2f0ba707968b44ef82dbe (diff) | |
parent | c8191d04c91f9d760b8e5c8acd3700548acbfb2a (diff) |
Merge pull request #11826 from endragor/fix-game-center-player-id
Fix returning Game Center player ID
Diffstat (limited to 'platform/iphone')
-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"; |