summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 9b8cb703..e8a61665 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -428,8 +428,8 @@ function m.awaitReload(scp)
scp:set('ready', false)
scp:set('nativeMatcher', nil)
scp:set('libraryMatcher', nil)
+ scp:removeAllLinks()
m.flushFiles(scp)
- files.flushAllLibrary(scp)
plugin.init(scp)
m.awaitPreload(scp)
scp:set('ready', true)