Another fix

This commit is contained in:
Szymon Miś
2025-11-20 14:39:29 +01:00
parent 693dc35a9f
commit 745e7cd936

View File

@@ -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!");