From 17a51b95bd07c5291192ab6036550cb238c1ef4f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 28 Nov 2023 13:19:53 -0500 Subject: Add ghost multiplayer --- Archipelago/load.gd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Archipelago/load.gd') 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(): effects.set_name("AP_Effects") self.add_child(effects) + # Create the multiplayer node, if needed. + if apclient.enable_multiplayer: + var multiplayer_node = apclient.SCRIPT_multiplayer.new() + multiplayer_node.ghost_mode = true + add_child(multiplayer_node) + # Hook up the scene to be able to handle connection failures. apclient.connect("could_not_connect", self, "archipelago_disconnected") -- cgit 1.4.1