Project Zomboid

Project Zomboid

Not enough ratings
More Traits - Build 42.12 CP fix
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
289.517 KB
15 Oct @ 12:48am
1 Change Note ( view )

Subscribe to download
More Traits - Build 42.12 CP fix

Description
Fixed a crash when attacking (including Shove/unarmed) due to nil weapon or missing weapon categories in trait event handlers.
Added safe checks for weapon/category access (getCategories/getSubCategory) to prevent “Object tried to call nil in prospear”.
Hardened handlers: prospear, problunt, problade, progun, tavernbrawler, and martial.
No gameplay/balance changes — only stability improvements.


Workshop ID: 3587315482
Mod ID: CP_MoreTraits
10 Comments
BLITZ 4 hours ago 
Thanks!!
car parts
computer.pers  [author] 4 hours ago 
Thanks )
knopi 12 hours ago 
cp?
flp.mason 20 hours ago 
you're a real one bro
leonidous2 17 Oct @ 12:07am 
Good job :)
Sanpy 16 Oct @ 6:18pm 
it fix the problems with the dinamic traits?
Inverspe 16 Oct @ 7:00am 
W :steamhappy:
_GoldPika_ 16 Oct @ 3:16am 
Really helpful, thank you
奇奇窟窟 15 Oct @ 8:31pm 
Thank you