Skip to content

Commit

Permalink
Fix bad i18n in tree communion (CleverRaven#74830)
Browse files Browse the repository at this point in the history
This only worked if you played the game in English
  • Loading branch information
ehughsbaird authored Jun 29, 2024
1 parent 8a48c93 commit 5d71f29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/activity_handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3789,7 +3789,8 @@ void activity_handlers::tree_communion_do_turn( player_activity *act, Character
q.push( loc );
seen.insert( loc );
const std::function<bool( const oter_id & )> filter = []( const oter_id & ter ) {
return ter.obj().is_wooded() || ter.obj().get_name() == "field";
// FIXME: this is terrible and should be a property instead of a name check...
return ter.obj().is_wooded() || ter.obj().get_name() == _( "field" );
};
while( !q.empty() ) {
tripoint_abs_omt tpt = q.front();
Expand Down

0 comments on commit 5d71f29

Please sign in to comment.