Skip to content

Commit

Permalink
Fix ships not sinking when they disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathmagician8191 committed Sep 4, 2024
1 parent 9ac69a3 commit 79bb04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion midway/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fn main() {
for (_, connection) in &mut connections {
connection
.stream
.write_all(format!("sunk {name}").as_bytes())
.write_all(format!("sunk {name}\n").as_bytes())
.ok();
}
}
Expand Down

0 comments on commit 79bb04a

Please sign in to comment.