Skip to content

Commit 8a7380e

Browse files
Minor change
moving unlock all profile check to around when game is launched instead of at the start of the run
1 parent a2da97e commit 8a7380e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cryptid.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ function SMODS.injectItems(...)
187187
end
188188
end
189189
end
190+
if G.PROFILES[G.SETTINGS.profile].all_unlocked then
191+
G.PROFILES[G.SETTINGS.profile].cry_none = (Cryptid.enabled("set_cry_poker_hand_stuff") == true)
192+
end
190193
G.P_CENTERS.j_stencil.immutable = true
191194
G.P_CENTERS.j_four_fingers.immutable = true
192195
G.P_CENTERS.j_mime.immutable = true

items/challenge.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,6 @@ function Game:start_run(args)
497497
table.insert(G.handlist, 1, "cry_Declare2")
498498
end
499499
Cryptid.base_values = {}
500-
if G.PROFILES[G.SETTINGS.profile].all_unlocked then
501-
G.PROFILES[G.SETTINGS.profile].cry_none = true
502-
end
503500
end
504501
local challenges = {
505502
sticker_sheet,

lib/overrides.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,5 +2189,5 @@ end
21892189
local unlock_allref = G.FUNCS.unlock_all
21902190
G.FUNCS.unlock_all = function(e)
21912191
unlock_allref(e)
2192-
G.PROFILES[G.SETTINGS.profile].cry_none = true
2192+
G.PROFILES[G.SETTINGS.profile].cry_none = (Cryptid.enabled("set_cry_poker_hand_stuff") == true)
21932193
end

0 commit comments

Comments
 (0)