Skip to content

Commit

Permalink
Translate radio onomatopoeia
Browse files Browse the repository at this point in the history
  • Loading branch information
anothersimulacrum committed Jul 31, 2022
1 parent 049f21a commit bd7fd00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,8 @@ cata::optional<int> iuse::radio_on( Character *p, item *it, bool t, const tripoi
}

const city *c = overmap_buffer.closest_city( tripoint_abs_sm( tref.abs_sm_pos, 0 ) ).city;
const std::string cityname = c == nullptr ? "ksssh" : c->name;
//~ radio noise
const std::string cityname = c == nullptr ? _( "ksssh" ) : c->name;

replace_city_tag( message, cityname );
int static_chance = radio_static_chance( tref );
Expand Down

0 comments on commit bd7fd00

Please sign in to comment.