From 7d28ccfb880e7d3190ad640210ad90fa6eab3ff9 Mon Sep 17 00:00:00 2001 From: Nixon Date: Sat, 27 Aug 2022 21:26:31 +0800 Subject: [PATCH] only platform jumpable! --- src/game.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.rs b/src/game.rs index 00a0e94..a9e20ff 100644 --- a/src/game.rs +++ b/src/game.rs @@ -375,7 +375,7 @@ fn char_platform_collision_event_system( } } } - + CollisionEvent::Stopped(e1, e2, flags) => { if *flags == CollisionEventFlags::SENSOR { if let (Ok(mut platform_count), Ok(_)) =