AI and manual fixes

This commit is contained in:
bol-van committed 2026-08-23 12:07:59 +03:00
1 parent a0be7cbb40
commit 1c5d49699c
9 files changed
+45 -34

No files matched your search

+1 -2
View File
@@ -420,7 +420,6 @@ function cond_lua(desync)
_G[fname], err = load(desync.arg.cond_code, fname)
if not _G[fname] then
error(err)
return
end
end
-- allow dynamic cond_code to access desync
@@ -463,7 +462,7 @@ function condition(ctx, desync)
return replay_execution_plan(desync)
end
-- execute further desync instances.
-- each instance may have "cond" and "cond_neg" args.
-- each instance must have "cond" arg and may optionally have "cond_neg" arg.
-- "cond" - condition function. "neg" - invert condition function result
-- arg: instances - how many instances execute conditionally. all if not defined
function per_instance_condition(ctx, desync)