From 4f9932074a8f0390d5cb6072b4e419c7ab08ffed Mon Sep 17 00:00:00 2001 From: troido Date: Thu, 2 Apr 2020 14:13:18 +0200 Subject: added flags component, and conditions for building --- src/world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.rs') 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()); } } -- cgit