Skip to content

Commit

Permalink
Fix game freeze upon completing MISSION_PRISONER_LEADER_GET_ID_CARD
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettDong committed Feb 7, 2021
1 parent 4eb4e8f commit d302d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item_pocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@ void item_pocket::handle_liquid_or_spill( Character &guy, const item *avoid )
}
} else {
item i_copy( *iter );
iter = contents.erase( iter );
guy.i_add_or_drop( i_copy, 1, avoid );
iter = contents.erase( iter );
}
}
}
Expand Down

0 comments on commit d302d43

Please sign in to comment.