Skip to content

Commit 6c0b21d

Browse files
author
ILLISIS
committed
fixed non-return
1 parent e0d2847 commit 6c0b21d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

script/job.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ function job:validate_worker()
480480
else
481481
if self.state == "finishing" then
482482
storage.jobs[self.job_index] = nil
483+
return false
483484
end
484485
local surface_index = self.surface_index
485486
self.worker = job.get_worker(surface_index) ---@type LuaEntity|nil

0 commit comments

Comments
 (0)