mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2026-01-05 12:33:55 +00:00
FNPreview init
This commit is contained in:
14
FNPreview/Card.lua
Normal file
14
FNPreview/Card.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
--
|
||||
-- SMODS compatibility:
|
||||
--
|
||||
|
||||
local orig_get_X_same = get_X_same
|
||||
function get_X_same(num, hand)
|
||||
local clean_hand = {}
|
||||
for _, v in pairs(hand) do
|
||||
if v.get_id then
|
||||
table.insert(clean_hand, v)
|
||||
end
|
||||
end
|
||||
return orig_get_X_same(num, clean_hand)
|
||||
end
|
||||
Reference in New Issue
Block a user