Closed Coolthulhu closed 2 years ago
I can reproduce it randomly when interacting with vehicle.
Don't exactly know what happened though, weird.
This might not cause any other problems, just a little annoying.
Oh, I see. I forgot this. In inventory.cpp line 594:
if( cargo ) {
const auto items = veh->get_items( cargo->part_index() );
*this += std::list<item>( items.begin(), items.end() );
}
It uses '+=' instead of add_item(), should be replaced by add_item_by_items_type_cache()
Describe the bug
Brosef on discord reported this:
He said it happened after dropping items into a vehicle.
Steps To Reproduce
Didn't try reproducing yet... When I get to it, I'll edit it here.
Expected behavior
Screenshots
Versions and configuration
Additional context