Jump to content

Bug: Option to dry myself when player is not wet


valrix

Recommended Posts

While fixing up one of my mods I noticed I had the option to "Dry myself" with a Dish Cloth when my character had not been wet yet. The error is on line 99 of file ISInventoryPaneContextMenu.lua, where the first part of the if statement:

 

testItem:getType() == "DishCloth" or testItem:getType() == "BathTowel"

 

should be wrapped in parentheses to separate it from the wetness > 0 test.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...