From a911b7fabbaac429efd1747c3b1e925f679752f9 Mon Sep 17 00:00:00 2001 From: troido Date: Wed, 1 Apr 2020 14:31:28 +0200 Subject: growing should theoretically work after room unloading --- src/room.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/room.rs') diff --git a/src/room.rs b/src/room.rs index 983ba11..9df131a 100644 --- a/src/room.rs +++ b/src/room.rs @@ -122,7 +122,7 @@ impl <'a, 'b>Room<'a, 'b> { world.insert(NewEntities::new(encyclopedia)); register_insert!( world, - (Position, Visible, Controller, Movable, Blocking, Floor, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, Dead, Trap, Fighter, Healing, Volatile, ControlCooldown, Autofight, MonsterAI, Home, Mortal, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment), + (Position, Visible, Controller, Movable, Blocking, Floor, New, Removed, Moved, Player, Inventory, Health, Serialise, RoomExit, Entered, Dead, Trap, Fighter, Healing, Volatile, ControlCooldown, Autofight, MonsterAI, Home, Mortal, AttackInbox, Item, Spawner, Clan, Faction, Interactable, Loot, Grow, Equipment, CreationTime), (Ground, Input, Output, Size, Spawn, Players, Emigration, Time) ); @@ -273,4 +273,11 @@ impl <'a, 'b>Room<'a, 'b> { } +#[cfg(test)] +mod tests { + + + +} + -- cgit