Changeset 6.1.20 for main.py


Ignore:
Timestamp:
08/20/2016 06:37:49 PM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160820183749-7g01fdzu48r1rfsb
Message:

Return next state from handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.19 r6.1.20  
    6666        team_size = mission_size(player_count, mission)
    6767        print("Mission {} needs {} members".format(mission, team_size))
     68        return "ASSEMBLE_TEAM"
    6869
    6970    def assemble_team():
     
    120121    while True:
    121122        if state == "ADVANCE_MISSIONS":
    122             advance_mission()
    123             state = "ASSEMBLE_TEAM"
     123            state = advance_mission()
    124124
    125125        elif state == "ASSEMBLE_TEAM":
Note: See TracChangeset for help on using the changeset viewer.