mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3728 from ChrisLR/patch-1
Update godot contrib README.md
This commit is contained in:
commit
4921425883
1 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue