- Timestamp:
- 08/20/2016 06:42:02 PM (8 years ago)
- branch-nick:
- state
- revision id:
- dsowen@fugue88.ws-20160820184202-j5wuk2yrrv4w1lv8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6.1.22 r6.1.23 91 91 if approved: 92 92 team_failures = 0 93 return "PERFORM_MISSION" 93 94 else: 94 95 team_failures += 1 96 return "ASSEMBLE_TEAM" 95 97 96 98 def perform_mission(): … … 123 125 if state == "ADVANCE_MISSIONS": 124 126 state = advance_mission() 125 126 127 elif state == "ASSEMBLE_TEAM": 127 assemble_team() 128 if approved: 129 state = "PERFORM_MISSION" 130 128 state = assemble_team() 131 129 elif state == "PERFORM_MISSION": 132 130 state = perform_mission()
Note: See TracChangeset
for help on using the changeset viewer.