Skip to content

Commit

Permalink
Merge pull request CleverRaven#57308 from actually-a-cat/mech-gun-fix
Browse files Browse the repository at this point in the history
Fix mechs missing their guns
  • Loading branch information
Rivet-the-Zombie authored May 2, 2022
2 parents 0cd272a + a5b1baa commit 184e0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ void Character::mount_creature( monster &z )
if( z.has_flag( MF_RIDEABLE_MECH ) ) {
if( !z.type->mech_weapon.is_empty() ) {
item mechwep = item( z.type->mech_weapon );
wield( mechwep );
set_wielded_item( mechwep );
}
add_msg_if_player( m_good, _( "You hear your %s whir to life." ), z.get_name() );
}
Expand Down

0 comments on commit 184e0bb

Please sign in to comment.