Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to perform arithmetic on global 'mult' (a nil value) when mult isn't nil #426

Closed
RedrcknRbn opened this issue Jan 25, 2025 · 1 comment

Comments

@RedrcknRbn
Copy link

RedrcknRbn commented Jan 25, 2025

I'm trying to create a joker, however, the game keeps crashing no matter what whenever i try to enter a round.
It works perfectly fine in the shop, however.
https://github.com/user-attachments/assets/10f4f8d8-2e21-4f17-8db7-8afecf2d2b2b
Image
log.txt - Crashlog
main.lua - Joker Code

@Aurelius7309
Copy link
Member

Read up on how calculate functions work in the wiki, your function doesn't have any context checks, so it tries to trigger outside of scoring. Also replace your selfs in these functions with card, self is just a joker prototype and not the actual card

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

No branches or pull requests

2 participants