diff --git a/game.json b/game.json index 83fa893..dd64712 100644 --- a/game.json +++ b/game.json @@ -2234,10 +2234,10 @@ "variables": [], "behaviors": [ { - "canBeGrabbed": true, "name": "Platform", - "platformType": "NormalPlatform", "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "NormalPlatform", "yGrabOffset": 0 } ], @@ -3569,7 +3569,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, + "folded": false, "name": "ОТЛАДКА", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -3578,7 +3578,7 @@ "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "var OT = runtimeScene.getVariables()._variables.items[\"OT\"];\nif (!(OT._children[\"0\"]._str === OT._children[\"1\"]._str))\n{\n OT._children[\"0\"]._str = OT._children[\"1\"]._str;\n console.debug(\"OT:\", OT._children[\"1\"]._str);\n}", + "inlineCode": "var OT = runtimeScene.getVariables().get(\"OT\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"OT:\", OT0.getAsString());\n}", "parameterObjects": "", "useStrict": true, "eventsSheetExpanded": false diff --git a/game.json.autosave b/game.json.autosave index 83fa893..527d090 100644 --- a/game.json.autosave +++ b/game.json.autosave @@ -2234,10 +2234,10 @@ "variables": [], "behaviors": [ { - "canBeGrabbed": true, "name": "Platform", - "platformType": "NormalPlatform", "type": "PlatformBehavior::PlatformBehavior", + "canBeGrabbed": true, + "platformType": "NormalPlatform", "yGrabOffset": 0 } ], @@ -3569,7 +3569,7 @@ "colorR": 74, "creationTime": 0, "disabled": false, - "folded": true, + "folded": false, "name": "ОТЛАДКА", "source": "", "type": "BuiltinCommonInstructions::Group", @@ -3578,7 +3578,16 @@ "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::JsCode", - "inlineCode": "var OT = runtimeScene.getVariables()._variables.items[\"OT\"];\nif (!(OT._children[\"0\"]._str === OT._children[\"1\"]._str))\n{\n OT._children[\"0\"]._str = OT._children[\"1\"]._str;\n console.debug(\"OT:\", OT._children[\"1\"]._str);\n}", + "inlineCode": "/*\nvar OT = runtimeScene.getVariables()._variables.items[\"OT\"];\nif (!(OT._children[\"0\"]._str === OT._children[\"1\"]._str))\n{\n OT._children[\"0\"]._str = OT._children[\"1\"]._str;\n console.debug(\"OT:\", OT._children[\"1\"]._str);\n}\n*/", + "parameterObjects": "", + "useStrict": true, + "eventsSheetExpanded": false + }, + { + "disabled": false, + "folded": false, + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": "var OT = runtimeScene.getVariables().get(\"OT\");\nvar OT0 = OT.getChild(\"0\");\nvar OT1 = OT.getChild(\"1\");\nif (OT0.getAsString() != OT1.getAsString())\n{\n OT0.setString(OT1.getAsString());\n console.debug(\"OT:\", OT0.getAsString());\n}\n", "parameterObjects": "", "useStrict": true, "eventsSheetExpanded": false