diff options
Diffstat (limited to 'src-01_radio-can-use-ups.patch')
-rw-r--r-- | src-01_radio-can-use-ups.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-01_radio-can-use-ups.patch b/src-01_radio-can-use-ups.patch index 0d811a5..d75e8dc 100644 --- a/src-01_radio-can-use-ups.patch +++ b/src-01_radio-can-use-ups.patch @@ -18,8 +18,8 @@ + if( !it->units_sufficient( *p ) || !( it->has_flag( flag_USE_UPS ) && + p->has_enough_charges( *it, false ) ) ) { p->add_msg_if_player( m_info, _( "Your tactical tonfa is out of power." ) ); - it->convert( itype_shocktonfa_off ).active = false; - } else { + it->convert( itype_shocktonfa_off ); + it->active = false; @@ -4099,7 +4102,8 @@ int iuse::mp3( player *p, item *it, bool, const tripoint & ) { |