Skip to content

Commit

Permalink
UObjectHook: Ignore DefaultObject motion controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Dec 31, 2023
1 parent 7c34ec3 commit 0f67c7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mods/UObjectHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,10 @@ void UObjectHook::update_motion_controller_components(const glm::vec3& left_hand
continue;
}

if (mc == mc_c->get_class_default_object()) {
continue;
}

if (mc->get_player_index() > 0) {
continue;
}
Expand Down

0 comments on commit 0f67c7b

Please sign in to comment.