Updated SammiClient

Removed await get_tree().process_frame from tight loop
This commit is contained in:
Mario Steele 2025-04-30 15:01:38 -05:00
parent d6e60ff204
commit 482ae21121

View file

@ -112,7 +112,6 @@ func _read_response() -> void:
return
if buffer.size() < 4:
await get_tree().process_frame
client.poll()
continue
@ -122,7 +121,6 @@ func _read_response() -> void:
buffer = []
headers = data.replace("\r", "").rstrip("\n\n").split("\n")
break
await get_tree().process_frame
client.poll()
if headers.size() == 0: