summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2022-10-25 14:22:23 +0200
committerGitHub <noreply@github.com>2022-10-25 14:22:23 +0200
commit9e509caa8b0fe19e8c826461079df8abcc7b07e7 (patch)
treedf0ce5dff049d9907bb91b610e19d1196b5361fa /modules
parentd49ef5fea87d42f0a615d4d5969d1c2b960f9578 (diff)
parent4c06237b9353ed47c72e827a25770518f167642a (diff)
Merge pull request #67858 from TechnoPorg/fix-upnp-docs
Fix Thread usage in UPNP docs.
Diffstat (limited to 'modules')
-rw-r--r--modules/upnp/doc_classes/UPNP.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upnp/doc_classes/UPNP.xml b/modules/upnp/doc_classes/UPNP.xml
index 4888dca822..d4054948f6 100644
--- a/modules/upnp/doc_classes/UPNP.xml
+++ b/modules/upnp/doc_classes/UPNP.xml
@@ -41,7 +41,7 @@
func _ready():
thread = Thread.new()
- thread.start(self, "_upnp_setup", SERVER_PORT)
+ thread.start(_upnp_setup.bind(SERVER_PORT))
func _exit_tree():
# Wait for thread finish here to handle game exit while the thread is running.