Crackdown-PD2 / deathvox

Crackdown full rebalance mod for Payday 2
GNU Affero General Public License v3.0
11 stars 25 forks source link

SWAT turret related crash #152

Closed segabl closed 1 year ago

segabl commented 1 year ago

Happened on Bank Heist at random.

Application has crashed: C++ exception
[string "lib/managers/group_ai_states/groupaistatebase..."]:4300: attempt to index local 'chatter_tweak' (a nil value)

SCRIPT STACK

damage_bullet() @mods/Crackdown/lua/lib/units/enemies/cop/copdamage.lua:813
give_impact_damage() @mods/Crackdown/lua/lib/units/weapons/raycastweaponbase.lua:1154
on_collision() @mods/Crackdown/lua/lib/units/weapons/raycastweaponbase.lua:1100
_fire_raycast() @mods/Crackdown/lua/lib/units/weapons/sentrygunweapon.lua:403
fire() @mods/Crackdown/lua/lib/units/weapons/sentrygunweapon.lua:252
trigger_held() @mods/Crackdown/lua/lib/units/weapons/sentrygunweapon.lua:187
_upd_fire() @mods/Crackdown/lua/lib/units/equipment/sentry_gun/sentrygunbrain.lua:229
@mods/Crackdown/lua/lib/units/equipment/sentry_gun/sentrygunbrain.lua:341
offyerrocker commented 1 year ago

Thanks for the report. This should be fixed as of https://github.com/Crackdown-PD2/deathvox/commit/8adee9d7a2cfd0b0cb9a46d27e34630bb73a661b