Changeset 6.1.21


Ignore:
Timestamp:
08/20/2016 06:38:23 PM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160820183823-xmzbq7xls5pyvr7j
Message:

Return next state from handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.20 r6.1.21  
    116116
    117117        mission += 1
     118        return "ADVANCE_MISSIONS"
    118119
    119120    state = "ADVANCE_MISSIONS"
     
    129130
    130131        elif state == "PERFORM_MISSION":
    131             perform_mission()
    132             state = "ADVANCE_MISSIONS"
     132            state = perform_mission()
    133133
    134134        if team_failures == 5:
Note: See TracChangeset for help on using the changeset viewer.