Changeset 6.1.52 for main.py


Ignore:
Timestamp:
08/21/2016 04:24:58 AM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160821042458-piwtjy50va2ax4o5
Message:

Moved code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.51 r6.1.52  
    6262        return team
    6363
     64    def next_team_captain(self):
     65        self.captain = (self.captain + 1) % self.player_count
     66
    6467
    6568class AdvanceMission(object):
     
    9598            p.observe_team_vote(approved, votes)
    9699
    97         self.shared.captain = (self.shared.captain + 1) % self.shared.player_count
     100        self.shared.next_team_captain()
    98101
    99102        if approved:
Note: See TracChangeset for help on using the changeset viewer.