From 90ac911c58ec84c2443a6ad8557ec7be5dfb3ed9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 15 Apr 2022 18:47:14 +0100 Subject: [PATCH] dice: Cooldown template: Use total_ms for duration variable Make the units clearer. We will provide a value for this from a Serialize context struct in the Rust code, which is still to come. Signed-off-by: Ian Jackson --- dice/cooldown-template-extractor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dice/cooldown-template-extractor b/dice/cooldown-template-extractor index b077dc5c..57e31ce0 100755 --- a/dice/cooldown-template-extractor +++ b/dice/cooldown-template-extractor @@ -57,7 +57,7 @@ process_node('timegrey', sub { filter_element('path'); $node->setAttribute('d', "{{path_d}}"); $node->setAttribute('id', "{{cd_elid}}"); - foreach my $d (qw(remprop total)) { + foreach my $d (qw(remprop total_ms)) { $node->setAttribute("data-$d", "{{$d}}"); } }); -- 2.30.2