diff --git a/lovely.toml b/lovely.toml index 81b7120..bdb5f1d 100644 --- a/lovely.toml +++ b/lovely.toml @@ -45,3 +45,13 @@ sources = [ target = "functions/UI_definitions.lua" position = "append" sources = ["FNPreview/Interface.lua"] + +[[patches]] +[patches.pattern] +target = '''=[SMODS _ "src/overrides.lua"]''' +pattern = "function get_straight(hand, min_length, skip, wrap)" +position = 'after' +payload = ''' +hand = clean_hand(hand) +''' +match_indent = true