diff --git a/automation/include/utils.lua b/automation/include/utils.lua index a558c1f57..ec4732ac9 100644 --- a/automation/include/utils.lua +++ b/automation/include/utils.lua @@ -169,5 +169,11 @@ end -- Exclusive or of two boolean values function xor(a, b) - return (a or b) and not (a and b) + if a and not b then + return a + elseif b and not a then + return b + else + return false + end end diff --git a/docs/help.hmx b/docs/help.hmx index 49f30abd4..497530ef0 100644 Binary files a/docs/help.hmx and b/docs/help.hmx differ