about summary refs log tree commit diff stats
path: root/Archipelago/load.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-28 13:19:53 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-28 13:19:53 -0500
commit17a51b95bd07c5291192ab6036550cb238c1ef4f (patch)
treefd426d7b352227b9f497003b087d4a36e87d1901 /Archipelago/load.gd
parent36d849d38730c04a89efc94e9f75ccaa8c7c0dd8 (diff)
downloadlingo-archipelago-17a51b95bd07c5291192ab6036550cb238c1ef4f.tar.gz
lingo-archipelago-17a51b95bd07c5291192ab6036550cb238c1ef4f.tar.bz2
lingo-archipelago-17a51b95bd07c5291192ab6036550cb238c1ef4f.zip
Add ghost multiplayer v0.16.0
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