NPCs deconstructing vehicles explode from infinite loop #35586
Labels
<Bug>
This needs to be fixed
[C++]
Changes (can be) made in C++. Previously named `Code`
NPC / Factions
NPCs, AI, Speech, Factions, Ownership
Describe the bug
I told 2 NPCs to deconstruct vehicles in VDZ (armored car and flatbed truck). When I return from supply run, they get their brains exploded because they went into infinite loop.
Steps To Reproduce
-load attached save;
-press "5" 7 or 8 times so you'll drive into tile adjacent to shelter where VDZ is
-get error messages and exploding brains.
Edit - if you stop the vehicle and go there on feet they are fine and they just follow you around, not deconstructing. Maybe something with vehicle headlights lighting their work area?
Expected behavior
NPCs not getting into loop and getting their brains out for the zombies to feast on.
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Modular Turrets [modular_turrets],
Salvaged Robots [Salvaged_Robots],
Alternative Map Key [alt_map_key],
sees-player icon, retrodays [sees_player_retro],
Stats Through Skills [StatsThroughSkills]
]
Additional context
Happened on 9901, updated to 9911, same thing.
crash-debug.zip
Save file was too big for attaching so here's the link
The text was updated successfully, but these errors were encountered: