Skip to content

Commit

Permalink
Merge pull request #77536 from sparr/choose_no_npc_for_activity
Browse files Browse the repository at this point in the history
Bail out of choosing activity for multiple NPCs if none chosen
  • Loading branch information
Maleclypse authored Nov 3, 2024
2 parents d14f093 + da6220c commit fd79db8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/npctalk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,9 @@ void game::chat()
break;
case NPC_CHAT_ACTIVITIES: {
const int activity = npc_activities_menu();
if( activity == UILIST_CANCEL ) {
return;
}

std::vector<int> npcs_selected;

Expand Down

0 comments on commit fd79db8

Please sign in to comment.