fix spaces in snap chapter freaking it out

This commit is contained in:
cajun
2025-11-10 05:15:03 -06:00
parent 98cda371bd
commit 72679cf077

View File

@@ -114,7 +114,7 @@ init script:
5: {[card_style.level_5_text.top, card_style.level_5_text.bottom-card_style.level_5_text.top]}
]
auto_snap := {
snap_array := split_text(styling.snap_chapter_to_box, match:",", end:false)
snap_array := split_comma(styling.snap_chapter_to_box)
abil := to_number(pull_comma_array(styling.snap_chapter_to_box, cell:input-1, end:false)) ###textbox to snap to
if abil == 0 then 600 else snap_calc(input, snap_array:snap_array, abil:abil)
}