We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa30bba commit 417c95dCopy full SHA for 417c95d
items/epic.lua
@@ -391,8 +391,9 @@ local error_joker = {
391
eternal_compat = false,
392
atlas = "atlasepic",
393
loc_vars = function(self, info_queue, center)
394
- if safe_get(G.GAME, "pseudorandom") and G.STAGE == G.STAGES.RUN then
395
- cry_error_msgs[#cry_error_msgs].string = "%%" .. (pcall(predict_card_for_shop) or "J6")
+ local ok, ret = pcall(predict_card_for_shop)
+ if safe_get(G.GAME, "pseudorandom") and G.STAGE == G.STAGES.RUN and ok then
396
+ cry_error_msgs[#cry_error_msgs].string = "%%" .. ret
397
else
398
cry_error_msgs[#cry_error_msgs].string = "%%J6"
399
end
0 commit comments