Skip to content

Ensure that the dollar value isn't nil and use a value comparison instead of table - #13

Open
Karpo22 wants to merge 1 commit into
itayfeder:mainfrom
Karpo22:11_table_vs_number_hotfix
Open

Ensure that the dollar value isn't nil and use a value comparison instead of table#13
Karpo22 wants to merge 1 commit into
itayfeder:mainfrom
Karpo22:11_table_vs_number_hotfix

Conversation

@Karpo22

@Karpo22 Karpo22 commented Mar 13, 2025

Copy link
Copy Markdown

The issue ended up being two-fold on my end. The first was doing a numeric comparison against a table value:

G.GAME.dollars vs G.GAME.dollars.value

This should fix the problem in issue #11. I also had the following error when I originally swapped over to using the numeric value:

image

After adding the check to make sure the value isn't nil it's fixed the issues on my end after replicating the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant