diff --git a/template/std.xml b/template/std.xml index b3d208e..e870b8d 100644 --- a/template/std.xml +++ b/template/std.xml @@ -136,6 +136,7 @@ function perframe_data_structure(comparator) return setmetatable({ + comparator = comparator, reverse_comparator = function(a, b) return comparator(b, a) end, stage = {n = 0}, list = {n = 0},