1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Apply suggestions from code review

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
y5nw 2025-02-18 07:20:42 +01:00
parent 5b6f9be18c
commit 3a7010dc7f
2 changed files with 3 additions and 3 deletions

View file

@ -218,7 +218,7 @@ local function test_async_job_replacement(cb)
end
local job = core.handle_async(function()
end, function()
return cb("Canceled async job run")
return cb("Canceled async job ran")
end)
if not job:cancel() then
return cb("AsyncJob:cancel sanity check failed")