parent
24e29ba37e
commit
0b4cc72996
@ -119,7 +119,7 @@ public class EnemyStateFlee :IEnemyState
|
|||||||
|
|
||||||
private void HandleDeadEnd()
|
private void HandleDeadEnd()
|
||||||
{
|
{
|
||||||
if (_stuckCount >= 4)
|
if (_stuckCount >= 2)
|
||||||
{
|
{
|
||||||
_enemyController.OnCannotFleeBehaviour(() => { _stuckCount = 0;});
|
_enemyController.OnCannotFleeBehaviour(() => { _stuckCount = 0;});
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user