Skip to content
This repository has been archived by the owner on Mar 3, 2019. It is now read-only.

Commit

Permalink
Script cratère
Browse files Browse the repository at this point in the history
  • Loading branch information
PFGimenez committed May 26, 2017
1 parent d70547b commit c25b13c
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions pc/src/scripts/ScriptPetitCratere.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,24 +113,27 @@ protected void run(RealGameState state) throws InterruptedException, UnableToMov
catch(ActionneurException e)
{
log.warning(e);
try
{
state.robot.leveFilet();
}
catch(ActionneurException e1)
{
log.warning(e1);
state.robot.fermeFilet();
throw e1;
}

try
if(!remue)
{
state.robot.baisseFilet();
}
catch(ActionneurException e1)
{
log.warning(e1);
try
{
state.robot.leveFilet();
}
catch(ActionneurException e1)
{
log.warning(e1);
state.robot.fermeFilet();
throw e1;
}

try
{
state.robot.baisseFilet();
}
catch(ActionneurException e1)
{
log.warning(e1);
}
}
}

Expand Down

0 comments on commit c25b13c

Please sign in to comment.