From d1d2fb111e7eb3d18c8c8f14acffb05b444daf71 Mon Sep 17 00:00:00 2001 From: MaD_CaT Date: Thu, 14 Dec 2023 14:20:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F.The=20function=20"stringify()"=20is=20?= =?UTF-8?q?a=20static=20function=20but=20was=20called=20from=20an=20instan?= =?UTF-8?q?ce.=20Instead,=20it=20should=20be=20directly=20called=20from=20?= =?UTF-8?q?the=20type:=20"JSON.stringify()".=20=20=20<=D0=9E=D1=88=D0=B8?= =?UTF-8?q?=D0=B1=D0=BA=D0=B0=20GDScript>STATIC=5FCALLED=5FON=5FINSTANCE?= =?UTF-8?q?=20=20=20<=D0=98=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D1=8B=D0=B9=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=B4=20GDScript>interfer.gd:58?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/interfer.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/interfer.gd b/scripts/interfer.gd index a3ede81..f648894 100644 --- a/scripts/interfer.gd +++ b/scripts/interfer.gd @@ -55,7 +55,7 @@ class Interfer: data_to_json['powp'] = powp # Необходимо добавить управление мощностью data_to_json['get'] = [] data_to_json['params'] = params - var json = JSON.new().stringify(data_to_json) + var json = JSON.stringify(data_to_json) var pac = json.to_utf8_buffer() return pac