diff options
| author | troido <troido@protonmail.com> | 2020-04-02 14:13:18 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-02 14:13:18 +0200 |
| commit | 4f9932074a8f0390d5cb6072b4e419c7ab08ffed (patch) | |
| tree | d83da5cd8b35af25aa6e0b2c9105182920c49bd0 /src/world.rs | |
| parent | ec007f34c4cd984640a235660803b81a739742b3 (diff) | |
added flags component, and conditions for building
Diffstat (limited to 'src/world.rs')
| -rw-r--r-- | src/world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.rs b/src/world.rs index 50a3a4b..cdcbff1 100644 --- a/src/world.rs +++ b/src/world.rs @@ -180,7 +180,7 @@ impl <'a, 'b>World<'a, 'b> { } else { let age = *self.room_age.get(&roomid).unwrap_or(&0) + 1; self.room_age.insert(roomid.clone(), age); - if age > 2 { + if age > 10 { to_remove.push(roomid.clone()); } } |
