Skip to content

Commit

Permalink
Fix Royal Flush level up crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Eremel committed Feb 22, 2025
1 parent 62ff0d8 commit c3b40e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ SMODS.calculate_individual_effect = function(effect, scored_card, key, amount, f
trigger = 'immediate',
func = function()
old_text = copy_table(G.GAME.current_round.current_hand)
update_hand_text({sound = 'button', volume = 0.7, pitch = 1.1, delay = 0}, {mult = old_text.mult, chips = old_text.chips, handname = old_text.handname, level = old_text.handname ~= "" and G.GAME.hands[old_text.handname].level or ''})
update_hand_text({sound = 'button', volume = 0.7, pitch = 1.1, delay = 0}, {mult = old_text.mult, chips = old_text.chips, handname = old_text.handname, level = old_text.handname ~= "" and G.GAME.hands[G.GAME.last_hand_played].level or ''})
return true
end
}))
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-1421b-STEAMODDED"
return "1.0.0~ALPHA-1422a-STEAMODDED"

0 comments on commit c3b40e4

Please sign in to comment.