aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 9e54453..90deb5d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -172,7 +172,7 @@ impl FromStr for FightOutcome {
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
- "success" => Ok(FightOutcome::Success),
+ "success" | "kill" => Ok(FightOutcome::Success),
"wipe" | "fail" => Ok(FightOutcome::Wipe),
_ => Err("Must be success or wipe"),
}