Skip to content

Commit a611f7a

Browse files
authored
Merge pull request #81960 from sparr/haul_toggle_on_action_menu
Add haul toggle to action menu when hauling
2 parents e1b04c5 + 1570185 commit a611f7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/action.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,10 @@ action_id handle_action_menu( map &here )
840840
}
841841
}
842842

843+
if( player_character.hauling ) {
844+
action_weightings[ACTION_HAUL_TOGGLE] = 300;
845+
}
846+
843847
// sort the map by its weightings
844848
std::vector<std::pair<action_id, int> > sorted_pairs;
845849
std::copy( action_weightings.begin(), action_weightings.end(),

0 commit comments

Comments
 (0)