Update godot README.md

This commit is contained in:
ChrisLR 2025-02-11 10:18:55 -05:00 committed by GitHub
parent e76169681e
commit 959655faac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ This will connect when the Scene is ready, poll and print the data when we recei
extends Node
# The URL we will connect to.
var websocket_url = "ws://localhost:4008"
var websocket_url = "ws://127.0.0.1:4008"
var socket := WebSocketPeer.new()
func _ready():
@ -145,7 +145,7 @@ func _on_button_pressed():
extends Node
# The URL we will connect to.
var websocket_url = "ws://localhost:4008"
var websocket_url = "ws://127.0.0.1:4008"
var socket := WebSocketPeer.new()
@onready var output_label = $"../Panel/VBoxContainer/RichTextLabel"
@ -193,4 +193,4 @@ func _on_button_pressed():
func _exit_tree():
socket.close()
```
```