diff options
Diffstat (limited to 'server/src/service.lua')
-rw-r--r-- | server/src/service.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 6db71442..1cb4b19e 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -659,7 +659,9 @@ function mt:onUpdateConfig(updated) end if not table.equal(oldConfig.workspace, newConfig.workspace) then self:clearAllFiles() - self.workspace:scanFiles() + if self.workspace then + self.workspace:scanFiles() + end end end |