From e58a476d3966390c61cdf0d09af0c8f6aabf72a3 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 15 Feb 2024 00:49:15 -0800 Subject: [PATCH] multiple wormhole --- src/rbx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rbx.rs b/src/rbx.rs index 845cd36..37388fc 100644 --- a/src/rbx.rs +++ b/src/rbx.rs @@ -220,7 +220,7 @@ fn get_attributes(object:&rbx_dom_weak::Instance,can_collide:bool,velocity:Plana //the PhysicsModelId has to exist for it to be teleported to! force_intersecting=true; //this object is not special in strafe client, but the roblox mapping needs to be converted to model id - assert!(wormhole_id_to_out_model.insert(captures[2].parse::().unwrap(),model_id).is_none(),"Cannot have multiple WormholeOut with same id"); + wormhole_id_to_out_model.insert(captures[2].parse::().unwrap(),model_id);//assert!(.is_none(),"Cannot have multiple WormholeOut with same id"); }, _=>(), }