update more

This commit is contained in:
Corwin Kuiper 2021-08-08 00:01:58 +01:00
parent 7708ccc4e1
commit 2974711a38

View file

@ -211,7 +211,7 @@ impl<'a> Background<'a> {
if self.poisoned { if self.poisoned {
let positions_to_be_updated = let positions_to_be_updated =
Rect::new(self.shadowed_position / 8, (30, 20).into()).iter(); Rect::new(self.shadowed_position / 8 - (1, 1).into(), (31, 21).into()).iter();
if let Some(map) = &self.map { if let Some(map) = &self.map {
for (x, y) in positions_to_be_updated { for (x, y) in positions_to_be_updated {