summaryrefslogtreecommitdiff
path: root/modules/upnp/doc_classes/UPNP.xml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upnp/doc_classes/UPNP.xml')
-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.