Исправления.The function "stringify()" is a static function but was called from an instance. Instead, it should be directly called from the type: "JSON.stringify()".

<Ошибка GDScript>STATIC_CALLED_ON_INSTANCE
  <Исходный код GDScript>interfer.gd:58
This commit is contained in:
MaD_CaT
2023-12-14 14:20:59 +03:00
parent 3a3b8115e7
commit d1d2fb111e

View File

@@ -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