fix wormholes
This commit is contained in:
parent
c3fef4dc35
commit
5baff7a6e7
@ -218,6 +218,8 @@ fn get_attributes(object:&rbx_dom_weak::Instance,can_collide:bool,velocity:Plana
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
"WormholeOut"=>{
|
"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
|
//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::<u32>().unwrap(),model_id).is_none(),"Cannot have multiple WormholeOut with same id");
|
assert!(wormhole_id_to_out_model.insert(captures[2].parse::<u32>().unwrap(),model_id).is_none(),"Cannot have multiple WormholeOut with same id");
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user