Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fixed Load the player data action. Updated version.
  • Loading branch information
achubutkin authored Feb 15, 2023
1 parent 75001e9 commit 620dcfd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "YandexGamesSDK",
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/gamepad-variant.svg",
"shortDescription": "An extension for Yandex.Games SDK that lets you easily integrate games created by GDevelop into the Yandex.Games platform.",
"version": "2.0.3",
"version": "2.0.4",
"description": [
"An extension for Yandex.Games SDK that lets you easily integrate games created by GDevelop into the Yandex.Games platform. The extension provides the following features:",
"",
Expand Down Expand Up @@ -1098,12 +1098,12 @@
" var data = null;\r",
"\r",
" if (contentVar.isStructure()) {\r",
" data = JSON.parse({\r",
" [keyVariable]: gdjs.evtTools.network.variableStructureToJSON(contentVar)\r",
" });\r",
" data = {\r",
" [keyVarName]: JSON.parse(gdjs.evtTools.network.variableStructureToJSON(contentVar))\r",
" };\r",
" } else if (contentVar.isPrimitive()) {\r",
" data = {\r",
" [keyVariable]: contentVar.getValue()\r",
" [keyVarName]: contentVar.getValue()\r",
" };\r",
" }\r",
"\r",
Expand All @@ -1117,8 +1117,9 @@
" });\r",
"} catch (err) {\r",
" console.warn(err);\r",
" _YandexGamesSDK.setCallback(false, callbackVarName);\r",
" gdjs._YandexGamesSDK.setCallback(false, callbackVarName);\r",
"}\r",
"\r",
""
],
"parameterObjects": "",
Expand Down

0 comments on commit 620dcfd

Please sign in to comment.