Skip to content

processMove calling endPhase twice #175

@janosimas

Description

@janosimas

I have a situation where I end the turn and the phase at the same time, the new phase has it's own conditions of endTurnIf and endPhaseIf.

  • The processMove set's the variable conf end then activates the endTurnEvent. [phase 0]
  • The endTurnEvent activates the endPhaseEvent. [phase 1]
  • The processMove activates the endPhaseEvent of the conf variable set in the begining. [phase 0]

This way when the endPhaseIf at the end of the processMove is called, it calls the phase 0 during the phase 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions