about summary refs log tree commit diff stats
path: root/Archipelago/load.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r--Archipelago/load.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 550ae1f..f536352 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd
@@ -471,6 +471,12 @@ func _load():
471 effects.set_name("AP_Effects") 471 effects.set_name("AP_Effects")
472 self.add_child(effects) 472 self.add_child(effects)
473 473
474 # Create the multiplayer node, if needed.
475 if apclient.enable_multiplayer:
476 var multiplayer_node = apclient.SCRIPT_multiplayer.new()
477 multiplayer_node.ghost_mode = true
478 add_child(multiplayer_node)
479
474 # Hook up the scene to be able to handle connection failures. 480 # Hook up the scene to be able to handle connection failures.
475 apclient.connect("could_not_connect", self, "archipelago_disconnected") 481 apclient.connect("could_not_connect", self, "archipelago_disconnected")
476 482