Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Eremel committed Jan 18, 2025
2 parents 1e3a0b0 + 79cb0b3 commit 34e2206
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/overrides.lua
Original file line number Diff line number Diff line change
Expand Up @@ -896,15 +896,15 @@ function G.UIDEF.view_deck(unplayed_only)

local rank_cols = {}
for i = #rank_name_mapping, 1, -1 do
if rank_tallies[i] ~= 0 or not SMODS.Ranks[rank_name_mapping[i]].in_pool or SMODS.Ranks[rank_name_mapping[i]]:in_pool({suit=''}) then
local mod_delta = mod_rank_tallies[i] ~= rank_tallies[i]
if rank_tallies[rank_name_mapping[i]] ~= 0 or not SMODS.Ranks[rank_name_mapping[i]].in_pool or SMODS.Ranks[rank_name_mapping[i]]:in_pool({suit=''}) then
local mod_delta = mod_rank_tallies[rank_name_mapping[i]] ~= rank_tallies[rank_name_mapping[i]]
rank_cols[#rank_cols + 1] = {n = G.UIT.R, config = {align = "cm", padding = 0.07}, nodes = {
{n = G.UIT.C, config = {align = "cm", r = 0.1, padding = 0.04, emboss = 0.04, minw = 0.5, colour = G.C.L_BLACK}, nodes = {
{n = G.UIT.T, config = {text = SMODS.Ranks[rank_name_mapping[i]].shorthand, colour = G.C.JOKER_GREY, scale = 0.35, shadow = true}},}},
{n = G.UIT.C, config = {align = "cr", minw = 0.4}, nodes = {
mod_delta and {n = G.UIT.O, config = {
object = DynaText({
string = { { string = '' .. rank_tallies[i], colour = flip_col }, { string = '' .. mod_rank_tallies[i], colour = G.C.BLUE } },
string = { { string = '' .. rank_tallies[rank_name_mapping[i]], colour = flip_col }, { string = '' .. mod_rank_tallies[rank_name_mapping[i]], colour = G.C.BLUE } },
colours = { G.C.RED }, scale = 0.4, y_offset = -2, silent = true, shadow = true, pop_in_rate = 10, pop_delay = 4
})}}
or {n = G.UIT.T, config = {text = rank_tallies[rank_name_mapping[i]], colour = flip_col, scale = 0.45, shadow = true } },}}}}
Expand Down
2 changes: 1 addition & 1 deletion version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.0.0~ALPHA-1317e-STEAMODDED"
return "1.0.0~ALPHA-1318c-STEAMODDED"

0 comments on commit 34e2206

Please sign in to comment.