Skip to content

Commit

Permalink
hotfix to ensure settings with integers for dx_time_remaining will au…
Browse files Browse the repository at this point in the history
…to-convert to the word symbols on next read, can be removed before merging to main
  • Loading branch information
LocalH committed Sep 19, 2023
1 parent 5871bf4 commit 975b20d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions _ark/dx/macros/dx_reader_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@
{set $dx_time_remaining
{elem {find $entry dx_time_remaining} 1}
}
{switch $dx_time_remaining ;can be removed before this eventually gets merged to main
(0 {set $dx_time_remaining off})
(1 {set $dx_time_remaining down})
(2 {set $dx_time_remaining up})
}
}
{if {== {elem $entry 0} {basename dx_disp_total_time}}
{set $dx_disp_total_time
Expand Down
2 changes: 1 addition & 1 deletion _ark/dx/ui/dx_ui_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DX_CURRENT_SONG_CLEAR
#endif

;song timer/total time defaults
{set $dx_time_remaining 0}
{set $dx_time_remaining down}
{set $dx_disp_total_time TRUE}

;countdown tracker
Expand Down

0 comments on commit 975b20d

Please sign in to comment.