Restore GetScore function to use IsAllowedForWhoringAll

This commit is contained in:
FireSplitter 2024-03-16 14:48:50 +02:00
parent 1601c4e620
commit 8fe6c145c4
2 changed files with 1 additions and 7 deletions

View file

@ -17,13 +17,7 @@ namespace rjwwhoring
if (building_Bed?.def.building.bed_humanlike == true) if (building_Bed?.def.building.bed_humanlike == true)
{ {
if (building_Bed.ForPrisoners) return 0; if (building_Bed.ForPrisoners) return 0;
if (building_Bed.def.building.bed_humanlike || if (building_Bed.IsAllowedForWhoringAll()) num++;
!(building_Bed.Faction != Faction.OfPlayerSilentFail) ||
!building_Bed.Medical ||
!building_Bed.ForPrisoners ||
!building_Bed.def.defName.Contains("Guest") ||
!building_Bed.def.defName.Contains("Android") )
num++;
} }
} }
if (num < 1) return 0; if (num < 1) return 0;