diff options
Diffstat (limited to 'dungeon/src/map.rs')
| -rw-r--r-- | dungeon/src/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dungeon/src/map.rs b/dungeon/src/map.rs index fb42a77..24378a5 100644 --- a/dungeon/src/map.rs +++ b/dungeon/src/map.rs @@ -158,7 +158,7 @@ impl Floor { pub fn hash(&self) -> u64 { // initial (immutable) dirty check let dirty = self.dirty.borrow(); - if *dirty { + if !*dirty { return *self.hash.borrow(); } drop(dirty); |