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

fix: intialize participants as empty table #1267

Merged
merged 2 commits into from
Jul 17, 2023
Merged

fix: intialize participants as empty table #1267

merged 2 commits into from
Jul 17, 2023

Conversation

luan
Copy link
Contributor

@luan luan commented Jul 17, 2023

Small fix -- when mobs kill each other, which happens with factions participants being nil causes an error. Initialize it to an empty table, it's used as a list so it'll just count as no players killing the monster.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dudantas dudantas merged commit 6c98c45 into main Jul 17, 2023
@dudantas dudantas deleted the luan/fix-duplex branch July 17, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants