Fix CheckDirty having an inverted lock test

This commit is contained in:
lutepickle 2024-01-27 05:49:50 -08:00
parent 9902c50d81
commit d34509dfc9
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -219,7 +219,7 @@ namespace RJW_Menstruation
public void CheckDirty()
{
if (absorbedfluids > this.GetStatValue(VariousDefOf.MaxAbsorbable) && (Wearer?.apparel?.IsLocked(this) ?? false))
if (absorbedfluids > this.GetStatValue(VariousDefOf.MaxAbsorbable) && !(Wearer?.apparel?.IsLocked(this) ?? false))
{
def = DirtyDef;
dirty = true;

View file

@ -2,6 +2,7 @@ Version 1.0.9.3
- The biosculptor egg restoration cycle will now give more eggs to races that ovulate more than one egg at a time.
- All pawns can now use all menstruation genes, regardless of gender or having a womb.
- Egglaying animals no longer have a menstrual cycle.
- Fix bug preventing absorbers from becoming dirty.
Version 1.0.9.2
- Updated Traditional Chinese translation by Hydrogen.