~starkingdoms/starkingdoms

8f153a1ea0a4760ea0d07652c892b1712527e527 — ghostlyzsh 2 years ago 7f68f2d
oops i disabled physics
2 files changed, 3 insertions(+), 3 deletions(-)

M server/src/handler.rs
M server/src/timer.rs
M server/src/handler.rs => server/src/handler.rs +2 -2
@@ 275,7 275,7 @@ pub async fn handle_client(
                                data_handle.rigid_body_set = rigid_body_set;
                                data_handle.collider_set = collider_set;

                                let module_id = AttachedModule::attach_new(
                                /*let module_id = AttachedModule::attach_new(
                                    &mut data_handle,
                                    &mut e_write_handle,
                                    player_id,


@@ 290,7 290,7 @@ pub async fn handle_client(
                                        module_type: ModuleType::Cargo,
                                    },
                                    1,
                                );
                                );*/
                                /*let module_id = AttachedModule::attach_new(
                                    &mut data_handle,
                                    &mut e_write_handle,

M server/src/timer.rs => server/src/timer.rs +1 -1
@@ 88,7 88,7 @@ pub async fn timer_main(
            );
        }

        //physics_data.tick(&mut pipeline);
        physics_data.tick(&mut pipeline);

        let mut protocol_players = vec![];