Skip to content

Commit

Permalink
Removed whitespace (because of Yamato operation failure)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanho-lee committed Dec 4, 2024
1 parent e95daf5 commit c8dbedd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Gameplay/Action/ConcreteActions/MeleeAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private IDamageable DetectFoe(ServerCharacter parent, ulong foeHint = 0)
public static IDamageable GetIdealMeleeFoe(bool isNPC, Collider ourCollider, float meleeRange, float meleeRadius, ulong preferredTargetNetworkId)
{
RaycastHit[] results;
int numResults = 0.0f < meleeRadius
int numResults = 0.0f < meleeRadius
? ActionUtils.DetectNearbyEntitiesUseSphere(isNPC, !isNPC, ourCollider, meleeRange, meleeRadius, out results)
: ActionUtils.DetectNearbyEntities(isNPC, !isNPC, ourCollider, meleeRange, out results);

Expand All @@ -127,7 +127,7 @@ public static IDamageable GetIdealMeleeFoe(bool isNPC, Collider ourCollider, flo
continue;
}

if(damageable.NetworkObjectId == preferredTargetNetworkId)
if (damageable.NetworkObjectId == preferredTargetNetworkId)
{
foundFoe = damageable;
maxDamage = int.MaxValue;
Expand Down

0 comments on commit c8dbedd

Please sign in to comment.