mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2025-12-16 20:49:23 +00:00
Cleaning smods get_straight function
This commit is contained in:
10
lovely.toml
10
lovely.toml
@@ -45,3 +45,13 @@ sources = [
|
|||||||
target = "functions/UI_definitions.lua"
|
target = "functions/UI_definitions.lua"
|
||||||
position = "append"
|
position = "append"
|
||||||
sources = ["FNPreview/Interface.lua"]
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user