From db7617186fffedc9058afa3eba35ef0c9c0d19aa Mon Sep 17 00:00:00 2001 From: hgn Date: Thu, 8 Feb 2024 04:54:02 +0000 Subject: [PATCH] reset run when using lgider --- player_glide.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/player_glide.c b/player_glide.c index af44ea6..96d3eac 100644 --- a/player_glide.c +++ b/player_glide.c @@ -429,6 +429,16 @@ static void player_glide_bind(void){ static void player_glide_transition(void){ localplayer.subsystem = k_player_subsystem_glide; localplayer.have_glider = 0; + world_static.challenge_target = NULL; + world_static.challenge_timer = 0.0f; + world_static.focused_entity = 0; + world_static.last_use = 0.0; + for( u32 i=0; istatus == k_world_status_loaded ){ + world_routes_clear( instance ); + } + } v3_copy( localplayer.rb.co, player_glide.rb.co ); -- 2.25.1