Changeset 6.1.56


Ignore:
Timestamp:
08/21/2016 04:32:45 AM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160821043245-qb46iuy02r9fkgms
Message:

Delegated required_failures()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.55 r6.1.56  
    7979        return failures
    8080
     81    def required_failures(self):
     82        return required_failures(self.player_count, self.mission)
     83
    8184
    8285class AdvanceMission(object):
     
    130133    def do(self):
    131134        failures = self.shared.get_mission_failures(self.team)
    132         success = failures < required_failures(self.shared.player_count, self.shared.mission)
     135        success = failures < self.shared.required_failures()
    133136
    134137        for p in self.shared.players:
Note: See TracChangeset for help on using the changeset viewer.