Skip to content

Commit

Permalink
Typo fix + astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Coolthulhu committed Aug 13, 2020
1 parent f6f84fa commit 5f652ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/json/furniture_and_terrain/furniture-appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@
"type": "furniture",
"id": "f_solar_unit",
"name": "mounted solar panel",
"description": "A mounted solar panel collected to building's electric grid.",
"description": "A mounted solar panel connected to building's electric grid.",
"symbol": "#",
"color": "yellow",
"move_cost_mod": 2,
Expand Down
2 changes: 1 addition & 1 deletion src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6797,7 +6797,7 @@ void map::loadn( const tripoint &grid, const bool update_vehicles )
}
}

if( get_option<bool>("ELECTRIC_GRID") && !tmpsub->active_furniture.empty() ) {
if( get_option<bool>( "ELECTRIC_GRID" ) && !tmpsub->active_furniture.empty() ) {
for( auto &pr : tmpsub->active_furniture ) {
tripoint p = sm_to_ms_copy( grid ) + pr.first;
active_tiles.emplace( p );
Expand Down

0 comments on commit 5f652ac

Please sign in to comment.