mirror of
https://gitgud.io/Ed86/rjw-whoring.git
synced 2024-08-15 00:03:25 +00:00
Restore GetScore function to use IsAllowedForWhoringAll
This commit is contained in:
parent
1601c4e620
commit
8fe6c145c4
2 changed files with 1 additions and 7 deletions
Binary file not shown.
|
@ -17,13 +17,7 @@ namespace rjwwhoring
|
|||
if (building_Bed?.def.building.bed_humanlike == true)
|
||||
{
|
||||
if (building_Bed.ForPrisoners) return 0;
|
||||
if (building_Bed.def.building.bed_humanlike ||
|
||||
!(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 (building_Bed.IsAllowedForWhoringAll()) num++;
|
||||
}
|
||||
}
|
||||
if (num < 1) return 0;
|
||||
|
|
Loading…
Reference in a new issue