From 0b45c006c8427b993722c19d5a06d95e8fbed45f Mon Sep 17 00:00:00 2001 From: Corwin Date: Mon, 28 Aug 2023 11:45:29 +0100 Subject: [PATCH] ice on bottom --- .../src/game/simulation/animation.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/the-dungeon-puzzlers-lament/src/game/simulation/animation.rs b/examples/the-dungeon-puzzlers-lament/src/game/simulation/animation.rs index 21141c090..1fb03bbe9 100644 --- a/examples/the-dungeon-puzzlers-lament/src/game/simulation/animation.rs +++ b/examples/the-dungeon-puzzlers-lament/src/game/simulation/animation.rs @@ -121,7 +121,12 @@ impl RenderCache { let mut score = 0; if matches!( self.item, - Item::Stairs | Item::Switch | Item::SwitchPressed | Item::SpikesDown | Item::SpikesUp + Item::Stairs + | Item::Switch + | Item::SwitchPressed + | Item::SpikesDown + | Item::SpikesUp + | Item::Ice ) { score += 100000; }