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/source_runtime.gd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apworld/client/source_runtime.gd') diff --git a/apworld/client/source_runtime.gd b/apworld/client/source_runtime.gd index 35428ea..146587a 100644 --- a/apworld/client/source_runtime.gd +++ b/apworld/client/source_runtime.gd @@ -7,6 +7,10 @@ func _init(path): source_path = path +func path_exists(path): + return FileAccess.file_exists("%s/%s" % [source_path, path]) + + func load_script(path): return ResourceLoader.load("%s/%s" % [source_path, path]) -- cgit 1.4.1