Another fix
This commit is contained in:
@@ -38,7 +38,7 @@ namespace DemonBoss.Summoner
|
||||
|
||||
public override bool Decide(vIFSMBehaviourController fsmBehaviour)
|
||||
{
|
||||
var summoner = fsmBehaviour.GetComponent<SummonerAI>();
|
||||
var summoner = fsmBehaviour.gameObject.GetComponent<SummonerAI>();
|
||||
if (summoner == null)
|
||||
{
|
||||
if (enableDebug) Debug.LogWarning("[DEC_CanSpawnMinions] No SummonerAI component found!");
|
||||
|
||||
Reference in New Issue
Block a user