doc
This commit is contained in:
parent
e4bd20578a
commit
daf84f29ab
3 changed files with 7 additions and 3 deletions
|
|
@ -237,7 +237,7 @@ impl TrictracEnvironment {
|
|||
|
||||
// Mapper l'index d'action sur une action valide
|
||||
let action_index = (action.index as usize) % valid_actions.len();
|
||||
Some(valid_actions[action_index].clone())
|
||||
Some(valid_actions[action_index])
|
||||
}
|
||||
|
||||
/// Exécute une action Trictrac dans le jeu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue