From 4549d52359eab2511cef1e3edd02c41eb34394c7 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 22 Nov 2023 22:13:32 -0500 Subject: Preload all scripts in settings_screen --- Archipelago/client.gd | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Archipelago/client.gd') diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 40fa4db..3cb46d3 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd @@ -1,5 +1,13 @@ extends Node +var SCRIPT_doorControl +var SCRIPT_effects +var SCRIPT_location +var SCRIPT_mypainting +var SCRIPT_notifier +var SCRIPT_panel +var SCRIPT_uuid + var ap_server = "" var ap_user = "" var ap_pass = "" @@ -71,8 +79,6 @@ var _location_name_to_id = {} # LINGO only var _remote_version = {"major": 0, "minor": 0, "build": 0} -const uuid_util = preload("user://maps/Archipelago/vendor/uuid.gd") - # TODO: caching per MW/slot, reset between connections var _authenticated = false var _seed = "" @@ -518,7 +524,7 @@ func connectToRoom(): "password": ap_pass, "game": "Lingo", "name": ap_user, - "uuid": uuid_util.v4(), + "uuid": SCRIPT_uuid.v4(), "version": ap_version, "items_handling": 0b111, # always receive our items "tags": [], -- cgit 1.4.1