From 6058f2330873daf63aaf334828b931a40b6939d4 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 27 Jul 2020 16:48:26 -0400 Subject: [PATCH] Fix another typo --- resources/maps/02.txt | 0 resources/maps/03.txt | 0 src/systems/input_system.rs | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 resources/maps/02.txt create mode 100644 resources/maps/03.txt diff --git a/resources/maps/02.txt b/resources/maps/02.txt new file mode 100644 index 0000000..e69de29 diff --git a/resources/maps/03.txt b/resources/maps/03.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/systems/input_system.rs b/src/systems/input_system.rs index 09df8d4..a7301e5 100644 --- a/src/systems/input_system.rs +++ b/src/systems/input_system.rs @@ -88,7 +88,7 @@ impl<'a> System<'a> for InputSystem { match immov.get(&pos) { Some(_) => { to_move.clear(); - events.events.push(Event::PlayerHistObstacle {}) + events.events.push(Event::PlayerHitObstacle {}) } None => break, }