@@ -3001,7 +3001,9 @@ void target_ui::init_window_and_input()
3001
3001
ctxt.register_action ( " NEXT_TARGET" );
3002
3002
ctxt.register_action ( " PREV_TARGET" );
3003
3003
ctxt.register_action ( " CENTER" );
3004
- ctxt.register_action ( " TOGGLE_UNLOAD_RAS_WEAPON" );
3004
+ if ( mode == TargetMode::Fire && relevant->has_flag ( flag_RELOAD_AND_SHOOT ) ) {
3005
+ ctxt.register_action ( " TOGGLE_UNLOAD_RAS_WEAPON" );
3006
+ }
3005
3007
ctxt.register_action ( " TOGGLE_SNAP_TO_TARGET" );
3006
3008
ctxt.register_action ( " HELP_KEYBINDINGS" );
3007
3009
ctxt.register_action ( " QUIT" );
@@ -4087,12 +4089,12 @@ void target_ui::draw_controls_list( int text_y )
4087
4089
} );
4088
4090
} else {
4089
4091
if ( !unload_RAS_weapon ) {
4090
- std::string unload = string_format ( _ ( " [%s] Unload the %s after quitting." ),
4092
+ std::string unload = string_format ( _ ( " [%s] to unload the %s after quitting." ),
4091
4093
bound_key ( " TOGGLE_UNLOAD_RAS_WEAPON" ).short_description (),
4092
4094
relevant->tname () );
4093
- lines.push_back ( {3 , colored ( col_disabled , unload )} );
4095
+ lines.push_back ( {3 , colored ( col_enabled , unload )} );
4094
4096
} else {
4095
- std::string unload = string_format ( _ ( " [%s] Keep the %s loaded after quitting." ),
4097
+ std::string unload = string_format ( _ ( " [%s] to keep the %s loaded after quitting." ),
4096
4098
bound_key ( " TOGGLE_UNLOAD_RAS_WEAPON" ).short_description (),
4097
4099
relevant->tname () );
4098
4100
lines.push_back ( {3 , colored ( col_enabled, unload )} );
0 commit comments