Jump to content
Sign in to follow this  
valrix

Bug: Option to dry myself when player is not wet

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...