(output:) hook side effects happen twice
Twine 2.3.14, Harlowe 3.2.2
{(set: $macroLog to "", $outputLog to "")
(set: $test to
(macro: [
(set: $macroLog to it + "x")
(output:)[(set: $outputLog to it + "x")output
]
]))
}Macros: $macroLog
Output: $outputLog
(link: "test")[($test:)Macros: $macroLog
Output: $outputLog]
Expected:
Macros:
Output:
output
Macros: x
Output: x
Actual:
Macros:
Output:
output
Macros: x
Output: xx <- WRONG!