Changeset 6.1.54 for main.py


Ignore:
Timestamp:
08/21/2016 04:28:17 AM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160821042817-w6wmdnalmwki6bue
Message:

Moved code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.53 r6.1.54  
    6868        self.team_failures = 0
    6969
     70    def record_team_failure(self):
     71        self.team_failures += 1
     72
    7073
    7174class AdvanceMission(object):
     
    107110            return PerformMission(self.shared, team)
    108111        else:
    109             self.shared.team_failures += 1
     112            self.shared.record_team_failure()
    110113            return AssembleTeam(self.shared, self.team_size)
    111114
Note: See TracChangeset for help on using the changeset viewer.