diff options
| author | troido <troido@protonmail.com> | 2020-03-02 22:36:06 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-02 22:36:06 +0100 |
| commit | a8d0e075613cc973b66c37510103108362fe7d3d (patch) | |
| tree | af5aeeb98bfbd7f033a78d1f4bfca0c38320bc2c /src/main.rs | |
| parent | 22168c8eedac95fdfde9a536a1d1f6ddf622cfa1 (diff) | |
don't cache messages between reconnecting
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 5ee6183..96844d3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,6 +111,7 @@ fn main() -> Result<()>{ } Action::Leave(player) => { world.remove_player(&player)?; + message_cache.remove(&player); } } } |
