master
罗家炜 2025-04-10 16:28:06 +08:00
parent dd19dac528
commit c551a8ba76
1 changed files with 3 additions and 3 deletions

View File

@ -117,9 +117,9 @@ function M:GetPrefix()
end end
function M:fillCard(obj, pos_str, card, use3d) function M:fillCard(obj, pos_str, card, use3d)
-- if DataManager.CurrenRoom.jing and card == DataManager.CurrenRoom.jing then if DataManager.CurrenRoom.jing and card == DataManager.CurrenRoom.jing and obj:GetController('jing') then
-- obj:GetController('jing').selectedIndex = 1 obj:GetController('jing').selectedIndex = 1
-- end end
if self._current_card_type == 2 and (use3d == nil or use3d == true) then if self._current_card_type == 2 and (use3d == nil or use3d == true) then
obj.icon = 'ui://MajiangCard3d/' .. 'b' .. pos_str .. card obj.icon = 'ui://MajiangCard3d/' .. 'b' .. pos_str .. card
else else