morerokk / IreNFist

A continuation/fix of the IreNFist mod for PAYDAY 2
MIT License
4 stars 2 forks source link

Crash on Crime Spree #37

Closed Bwamo closed 4 years ago

Bwamo commented 4 years ago

Was playing Crime Spree and managed to trigger this shortly after someone joined.

[string "lib/units/enemies/cop/logics/coplogictravel.lua"]:137: attempt to index field 'team' (a nil value)

SCRIPT STACK

set_logic() lib/units/enemies/cop/copbrain.lua:387
_exit() lib/units/enemies/cop/logics/coplogicbase.lua:198
on_new_objective() lib/units/enemies/cop/logics/coplogicidle.lua:483
on_new_objective() lib/units/enemies/cop/logics/coplogicattack.lua:1486
set_objective() lib/units/enemies/cop/copbrain.lua:265
_execute_so() lib/managers/group_ai_states/groupaistatebase.lua:2482
_upd_SO() lib/managers/group_ai_states/groupaistatebesiege.lua:212
clbk() lib/managers/group_ai_states/groupaistatebesiege.lua:174
_execute_queued_task() lib/managers/enemymanager.lua:562
_update_queued_tasks() lib/managers/enemymanager.lua:577
update() lib/managers/enemymanager.lua:51
update() lib/setups/gamesetup.lua:723
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:557
morerokk commented 4 years ago

Thanks, looks like this is yet another "lack of a team" crash. I'll make sure to patch over this one too.

morerokk commented 4 years ago

Fixed.