Skip to content

Commit

Permalink
Merge pull request #61838 from Night-Pryanik/towels-dry
Browse files Browse the repository at this point in the history
Towel that got wet from swimming will now dry
  • Loading branch information
ZhilkinSerg committed Oct 22, 2022
2 parents 3d8fec4 + 994d6b9 commit 4ea1c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10879,7 +10879,7 @@ void game::water_affect_items( Character &ch ) const
&& !loc.protected_from_liquids() ) {
wet.emplace_back( loc );
} else if( loc->typeId() == itype_towel && !loc.protected_from_liquids() ) {
loc->convert( itype_towel_wet );
loc->convert( itype_towel_wet ).active = true;
}
}

Expand Down

0 comments on commit 4ea1c29

Please sign in to comment.