diff --git a/game/business_policies/clothing_policies_ren.py b/game/business_policies/clothing_policies_ren.py index 11fa9b360ab13bad0ae7884b5e1b67669ebcbccb..288e16ba7966ae67d3e4248894206ba6e4506714 100644 --- a/game/business_policies/clothing_policies_ren.py +++ b/game/business_policies/clothing_policies_ren.py @@ -26,7 +26,7 @@ def uniform_disobedience_on_move(uniform_disobedience_priority): #This is an on_ disobedience_chance = 0 if not person.judge_outfit(person.planned_uniform): #Girls who find the outfit too slutty might disobey, scaled by their obedience - disobedience_chance = (person.planned_uniform.outfit_slut_score - person.effective_sluttiness()) / (person.obedience / 200.0) + disobedience_chance = (person.planned_uniform.outfit_slut_score - person.effective_sluttiness()) / (person.obedience / 200.0 if person.obedience != 0 else 100) disobedience_chance += -2 * (person.opinion.skimpy_uniforms) else: #Disobedient girls sometimes don't wear uniforms, just because they don't like following orders. Less likely than when outfits are too slutty.