Skip to content

Commit

Permalink
Partially fix duplicate shapes in #240
Browse files Browse the repository at this point in the history
  • Loading branch information
dyanikoglu committed Oct 8, 2021
1 parent 1571614 commit 739ebcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ALSV4_CPP/Private/Components/ALSDebugComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void UALSDebugComponent::TickComponent(float DeltaTime, ELevelTick TickType,
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);

#if !UE_BUILD_SHIPPING
if (!OwnerCharacter)
if (!OwnerCharacter || OwnerCharacter->GetLocalRole() != ROLE_Authority)
{
return;
}
Expand Down

0 comments on commit 739ebcc

Please sign in to comment.