fix this breaking change
This commit is contained in:
parent
fe22e78423
commit
ad3eb102be
|
@ -74,8 +74,8 @@ impl FromStr for Exit {
|
||||||
|
|
||||||
let position = position.unwrap();
|
let position = position.unwrap();
|
||||||
|
|
||||||
let effect = if let Some(transition_line) = parts.next() {
|
let effect = if parts.next().is_some() {
|
||||||
Transition::from(transition_line)
|
Transition::from(parts.next().unwrap())
|
||||||
} else {
|
} else {
|
||||||
Transition::None
|
Transition::None
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue