mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 08:17:34 -04:00
remove is_cached arg
This commit is contained in:
parent
a0fd6de158
commit
fb587a6d30
6 changed files with 9 additions and 10 deletions
|
@ -22,8 +22,7 @@ func load_gate(config_url: String) -> void:
|
|||
|
||||
var image_path = await FileDownloader.download(c_gate.image_url)
|
||||
var gate = Gate.create(config_url, c_gate.title, c_gate.description, image_path, "", "")
|
||||
var is_cached = FileDownloader.is_cached(c_gate.resource_pack_url)
|
||||
gate_events.gate_info_loaded_emit(gate, is_cached)
|
||||
gate_events.gate_info_loaded_emit(gate)
|
||||
|
||||
gate.resource_pack = await FileDownloader.download(c_gate.resource_pack_url)
|
||||
if gate.resource_pack.is_empty(): return error(GateEvents.GateError.MISSING_PACK)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue