Skip to content

Commit

Permalink
Update game.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrhan committed Jun 13, 2020
1 parent a9385fc commit 93809d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8957,7 +8957,9 @@ void game::wield( item_location loc )
add_msg( m_info, "%s", ret.c_str() );
}

u.unwield();
if( !u.unwield() ) {
return;
}

if( is_unwielding ) {
if( !u.martial_arts_data.selected_is_none() ) {
Expand Down

0 comments on commit 93809d7

Please sign in to comment.