···1515 if ResourceLoader.has_cached(path):
1616 return ResourceLoader.load(path)
1717 else:
1818- var state = thread.start(Callable(self, "_thread_load").bind(path))
1818+ var state
1919+ # If exported for the web we don't wanna thread, this may cause issues but we ball
2020+ if OS.get_name() == "Web":
2121+ state = _thread_load(path)
2222+ else:
2323+ state = thread.start(Callable(self, "_thread_load").bind(path))
2424+1925 if state != OK:
2026 push_error("Error while starting thread: " + str(state))
2127