diff options
| author | troido <troido@protonmail.com> | 2020-03-03 20:27:35 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-03 20:27:35 +0100 |
| commit | b1f075c0064ec4c2419e769b2c960f6d8e65c4d6 (patch) | |
| tree | 9a25f8f06c8778321c8786aa8e481133fb222c0a /src/world.rs | |
| parent | f4dcab94dca440fa661b9f4e1c9b75369673ba10 (diff) | |
updated todo
Diffstat (limited to 'src/world.rs')
| -rw-r--r-- | src/world.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.rs b/src/world.rs index 0c7e0e9..16ac4db 100644 --- a/src/world.rs +++ b/src/world.rs @@ -55,6 +55,7 @@ impl <'a, 'b>World<'a, 'b> { } self.rooms.insert(id.clone(), room); } + // todo: log any that occurs (and still return it) self.rooms.get_mut(id).ok_or(aerr!("can't get room after loading it")) } |
