Skip to content

Commit fffb7dd

Browse files
committed
small bugfix in programming/lab3
1 parent ac40926 commit fffb7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programming/sem1/lab3/src/Locations/FieldMiddle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void execute(){
3939
} catch (IllegalArgumentException e2) { character.goFurther.goFurther(); }
4040
}
4141
else if (lastStepStatus == StepStatus.NOT_ENOUGH_ENERGY) {
42-
character.goFurther.goFurther();
42+
character.becomeTired.becomeTired();
4343

4444
character.characterLocation.setLocation(null);
4545
}

0 commit comments

Comments
 (0)