diff options
| author | tslil clingman <> | 2020-01-27 22:16:59 -0800 |
|---|---|---|
| committer | tslil clingman <> | 2020-01-27 22:16:59 -0800 |
| commit | 38200848953b1d8d7ba083752c2621603842b54e (patch) | |
| tree | 9e13f26df343d472c040ac6678a9836c5ba11eb7 /src/consulter.rs | |
| parent | 87c2d3319effd4d6be83875bdb455be9077c0c1c (diff) | |
fix ptn issues
Diffstat (limited to 'src/consulter.rs')
| -rw-r--r-- | src/consulter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consulter.rs b/src/consulter.rs index 1f27124..a8e666f 100644 --- a/src/consulter.rs +++ b/src/consulter.rs @@ -16,7 +16,7 @@ pub fn consult_next_action(game: &Game, proc: &str) -> Result<Action> { match String::from_utf8(output.stdout) { Err(e) => Err(Error::new(ErrorKind::InvalidData, e)), - Ok(string) => match parse_action(game, &string) { + Ok(string) => match parse_action(game.query_stone_owner(), &string.trim()) { Err(string) => Err(Error::new(ErrorKind::InvalidData, string)), Ok(action) => Ok(action), }, |
