feat: color rank with suit's color
parent
4fb6246637
commit
671d1410d5
|
@ -431,7 +431,7 @@ function render_card(c,x,y,state,below)
|
|||
if c.rank==11 then val='J' end
|
||||
if c.rank==12 then val='Q' end
|
||||
if c.rank==13 then val='K' end
|
||||
print(val,tx,ty)
|
||||
print(val,tx,ty,suit_color[c.suit])
|
||||
-- Draw hilight
|
||||
if state==1 then
|
||||
spr(hilight.sid,
|
||||
|
|
Loading…
Reference in New Issue