From 5baff7a6e70be94b14beebdfe7aaaafe430cddf9 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 12 Feb 2024 22:07:02 -0800 Subject: [PATCH] fix wormholes --- src/rbx.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rbx.rs b/src/rbx.rs index 06a6bc6..c5d6548 100644 --- a/src/rbx.rs +++ b/src/rbx.rs @@ -218,6 +218,8 @@ fn get_attributes(object:&rbx_dom_weak::Instance,can_collide:bool,velocity:Plana ); }, "WormholeOut"=>{ + //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"); },