From 452289b3b6247bb512b9353e0f2c6a9b7090be55 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 4 Nov 2025 14:56:04 -0500 Subject: Split map-specific initialization into separate files --- apworld/client/apworld_runtime.gd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apworld/client/apworld_runtime.gd') diff --git a/apworld/client/apworld_runtime.gd b/apworld/client/apworld_runtime.gd index faf8e0c..03568bf 100644 --- a/apworld/client/apworld_runtime.gd +++ b/apworld/client/apworld_runtime.gd @@ -15,6 +15,11 @@ func _get_true_path(path): return "lingo2/client/%s" % path +func path_exists(path): + var true_path = _get_true_path(path) + return apworld_reader.file_exists(true_path) + + func load_script(path): var true_path = _get_true_path(path) -- cgit 1.4.1