Skip to content

Commit 5f22871

Browse files
committed
Fix improper check to verify RetroAchievements request was valid
1 parent 177fde2 commit 5f22871

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/integrations/RetroAchievementsIntegration.gd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,7 @@ func _ready() -> void:
468468
queue_free()
469469
return
470470

471-
if Raw.http:
472-
remove_child(Raw.http)
471+
if is_instance_valid(Raw.http):
473472
Raw.http.queue_free()
474473
Raw.http = HTTPRequest.new()
475474
Raw.http.accept_gzip = true

0 commit comments

Comments
 (0)