master
parent
dd19dac528
commit
c551a8ba76
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue