Skip to content

Commit

Permalink
Drop vehicle suffix if link needs reeling
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin L authored and Justin L committed Jun 2, 2024
1 parent f3f4d6d commit 371b7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iuse_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4616,7 +4616,7 @@ std::optional<int> link_up_actor::use( Character *p, item &it, const tripoint &p
} else if( it.link().source == link_state::solarpack ) {
state_desc_lhs = _( "\nConnecting solar backpack to " );
}
if( it.link().t_veh ) {
if( it.link().t_veh && it.link().source != link_state::needs_reeling ) {
state_desc_rhs = it.link().t_veh->name;
} else if( it.link().target == link_state::bio_cable ) {
state_desc_rhs = _( "Cable Charger System" );
Expand Down

0 comments on commit 371b7b9

Please sign in to comment.