Skip to content

Commit 14cfb31

Browse files
committed
Revert "Bring codes that set target entity back to fix character not casting skill to target entity issues. But this can cause missile not to go aiming target which have to fix at CORE :("
This reverts commit d7510ab.
1 parent d7510ab commit 14cfb31

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Scripts/AimAtCursorPlayerCharacterController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ protected void UpdateLookInput()
315315
{
316316
foundTargetEntity = true;
317317
CacheUISceneGameplay.SetTargetEntity(tempGameEntity.Entity);
318-
PlayerCharacterEntity.SetTargetEntity(tempGameEntity.Entity);
319318
SelectedEntity = tempGameEntity.Entity;
320319
if (tempGameEntity.Entity != PlayerCharacterEntity.Entity)
321320
{
@@ -356,7 +355,6 @@ protected void UpdateLookInput()
356355
{
357356
foundTargetEntity = true;
358357
CacheUISceneGameplay.SetTargetEntity(tempGameEntity.Entity);
359-
PlayerCharacterEntity.SetTargetEntity(tempGameEntity.Entity);
360358
SelectedEntity = tempGameEntity.Entity;
361359
if (tempGameEntity.Entity != PlayerCharacterEntity.Entity)
362360
{
@@ -382,7 +380,6 @@ protected void UpdateLookInput()
382380
if (!foundTargetEntity)
383381
{
384382
CacheUISceneGameplay.SetTargetEntity(null);
385-
PlayerCharacterEntity.SetTargetEntity(null);
386383
SelectedEntity = null;
387384
}
388385

0 commit comments

Comments
 (0)