Skip to content

Commit

Permalink
in the version I commited yesterday I had broken something, its fixed…
Browse files Browse the repository at this point in the history
… in this version
  • Loading branch information
lf authored and lf committed Sep 2, 2015
1 parent 9663738 commit d5b158c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/ModuleElla.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ public void trigger(DialogueState state, Collection<String> updatedVars) {
System.out.println("EllaModule: go to floor: " + togoFloor);
changePosition(togoFloor);
}
//the restrooms have to be done seperately, because the command is not "Movefloor("
if (actionValue.equals("restrooms")) {
changePosition("restrooms");
}

}
}
Expand All @@ -109,7 +105,7 @@ private void changePosition(String togoFloor) {
if (togoFloor.equals("zero")) {
newFloor = 0;
}
else if (togoFloor.equals("restrooms")) {
else if (togoFloor.equals("zero point five")) {
newFloor = 1;
}
else if (togoFloor.equals("one")) {
Expand Down

0 comments on commit d5b158c

Please sign in to comment.