DivvyCr/Balatro-Preview

v2.1 Immediately crashes

Closed this issue · 3 comments

Installed v2.1 with Steamodded v0.9.8 and it crashes immediately when attempting to start a new hand (i.e. after selecting the first blind). No other mods were installed at the time of the crash.

Screenshot 2024-04-06 at 9 02 05 PM

I'm not familiar with Lua or this modding setup, but it seems like the script is trying to invoke DV.deep_copy here even though the DV table doesn't have a field with that name.

Looks like it was a helper function that got deleted in the refactor
a034701#diff-3b207e3330cffa6708754b55038015e9cdc5ab9dbdead96a3798851c8f5159cbL536-L552

I re-added the helper function and that seems to have fixed things? I'm not sure if the score calculations are accurate but it at least get a score preview now. #17

Appreciate the Pull Request, but it was a different problem. I forgot to update the version of DVPreview in the release, so sorry! Fixed in v2.2