about summary refs log tree commit diff stats
path: root/apworld/client/source_runtime.gd
diff options
context:
space:
mode:
Diffstat (limited to 'apworld/client/source_runtime.gd')
-rw-r--r--apworld/client/source_runtime.gd4
1 files changed, 4 insertions, 0 deletions
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):
7 source_path = path 7 source_path = path
8 8
9 9
10func path_exists(path):
11 return FileAccess.file_exists("%s/%s" % [source_path, path])
12
13
10func load_script(path): 14func load_script(path):
11 return ResourceLoader.load("%s/%s" % [source_path, path]) 15 return ResourceLoader.load("%s/%s" % [source_path, path])
12 16