summaryrefslogtreecommitdiff
path: root/script/workspace/loading.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/loading.lua')
-rw-r--r--script/workspace/loading.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/loading.lua b/script/workspace/loading.lua
index fa8f780f..258c67d6 100644
--- a/script/workspace/loading.lua
+++ b/script/workspace/loading.lua
@@ -176,7 +176,7 @@ m._loadings = setmetatable({}, { __mode = 'k' })
function m.create(scp)
local loading = setmetatable({
scp = scp,
- _bar = progress.create(scp, lang.script('WORKSPACE_LOADING', scp.uri), 0.5),
+ _bar = progress.create(scp.uri, lang.script('WORKSPACE_LOADING', scp.uri), 0.5),
_stash = {},
_cache = {},
}, mt)