feat: color rank with suit's color

main
LeRoyce Pearson 2024-02-12 11:50:16 -07:00
parent 4fb6246637
commit 671d1410d5
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ function render_card(c,x,y,state,below)
if c.rank==11 then val='J' end if c.rank==11 then val='J' end
if c.rank==12 then val='Q' end if c.rank==12 then val='Q' end
if c.rank==13 then val='K' end if c.rank==13 then val='K' end
print(val,tx,ty) print(val,tx,ty,suit_color[c.suit])
-- Draw hilight -- Draw hilight
if state==1 then if state==1 then
spr(hilight.sid, spr(hilight.sid,