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: possible panic due to incorrect weapon's owner #488

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

akiver
Copy link
Collaborator

@akiver akiver commented Dec 29, 2023

Hi!

The crash has been reported here.
The owner may point to a disconnected player, this PR retrieves the good owner when the weapon entity is destroyed.

Thanks

@akiver akiver requested a review from markus-wa December 29, 2023 19:46
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e999687) 80.64% compared to head (a02634f) 80.64%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #488      +/-   ##
==========================================
- Coverage   80.64%   80.64%   -0.01%     
==========================================
  Files          47       47              
  Lines        6320     6319       -1     
==========================================
- Hits         5097     5096       -1     
  Misses       1014     1014              
  Partials      209      209              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@markus-wa markus-wa merged commit cf493ac into master Dec 29, 2023
7 checks passed
@markus-wa markus-wa deleted the fix-weapon-owner branch December 29, 2023 23:51
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.

2 participants