Исправление. 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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user