0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 02:30:44 -05:00
modules/project/SPT.SinglePlayer
dwesterwick 9357555280 Fix for DogtagPatch NRE when Weapon Name is Null (!154)
Added null check for `damageInfo.Weapon.Name` in `DogtagPatch::UpdateDogtagItemWithDeathDetails` because it can be null in rare cases. I see this happen when Zryachiy or his followers kill a bot, and I'm not sure why. This will prevent an exception from being thrown and the bot becoming "broken".

Reviewed-on: SPT/Modules#154
Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Co-committed-by: dwesterwick <dwesterwick@yahoo.com>
2024-08-10 08:09:26 +00:00
..
2024-07-04 14:11:11 +00:00
2024-07-04 14:11:11 +00:00
2024-05-21 19:10:17 +01:00