Исправление. W 0:00:00:0432 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:
sasha80
2023-12-14 14:39:17 +03:00
parent a8ef77a59e
commit f5865050b8

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