crumbs API

This commit is contained in:
Face
2025-08-16 14:36:47 +03:00
parent ae8954c52c
commit d379836405
7 changed files with 499 additions and 7 deletions

View File

@@ -135,6 +135,16 @@ func render() -> void:
func render_content(html_bytes: PackedByteArray) -> void:
var existing_lua_apis = []
for child in get_children():
if child is LuaAPI:
existing_lua_apis.append(child)
for lua_api in existing_lua_apis:
lua_api.kill_script_execution()
remove_child(lua_api)
lua_api.queue_free()
# Clear existing content
for child in website_container.get_children():
child.queue_free()