mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Merge pull request #11826 from endragor/fix-game-center-player-id
Fix returning Game Center player ID
This commit is contained in:
commit
7e05d249e6
@ -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 New Issue
Block a user