Skip to content

Commit

Permalink
Fixed bug in DefaultActionChooser
Browse files Browse the repository at this point in the history
  • Loading branch information
retrodaredevil committed Feb 4, 2019
1 parent f165013 commit 55285d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ time to end and change the active action. There is a factory method to create th
### Coding Conventions Used in This Project
* Parameters to be passed to super methods/constructors should be put before other parameters
* Use tabs instead of spaces, 2 tabs for continued line indent. (Only for *.java files)
* Reference interfaces instead of concrete classes in method signatures as much as possible
* Reference interfaces instead of concrete classes in method signatures as much as possible
### TODO
* Create an Action that runs two actions. If the first action is done, the whole action becomes done
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ protected void onEnd(boolean peacefullyEnded) {
private void endCurrent(){
if(activeAction != null){
activeAction.end();
activeAction = null;
}
}
}

0 comments on commit 55285d2

Please sign in to comment.