NEO-74: Apply gdformat to main and craft refresh test.
parent
1533687aa8
commit
501834279e
|
|
@ -552,7 +552,9 @@ func _setup_craft_ui() -> void:
|
|||
if _recipe_defs_client.has_signal("recipes_ready"):
|
||||
_recipe_defs_client.connect("recipes_ready", Callable(self, "_on_recipes_ready"))
|
||||
if _recipe_defs_client.has_signal("recipes_sync_failed"):
|
||||
_recipe_defs_client.connect("recipes_sync_failed", Callable(self, "_on_recipes_sync_failed"))
|
||||
_recipe_defs_client.connect(
|
||||
"recipes_sync_failed", Callable(self, "_on_recipes_sync_failed")
|
||||
)
|
||||
if _craft_recipe_panel.has_signal("craft_requested"):
|
||||
_craft_recipe_panel.connect("craft_requested", Callable(self, "_on_craft_requested"))
|
||||
if _craft_client.has_signal("craft_result_received"):
|
||||
|
|
|
|||
|
|
@ -19,10 +19,7 @@ class MockCraftTransport:
|
|||
_request_data: String = ""
|
||||
) -> Error:
|
||||
request_completed.emit(
|
||||
HTTPRequest.RESULT_SUCCESS,
|
||||
200,
|
||||
PackedStringArray(),
|
||||
body_json.to_utf8_buffer()
|
||||
HTTPRequest.RESULT_SUCCESS, 200, PackedStringArray(), body_json.to_utf8_buffer()
|
||||
)
|
||||
return OK
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue