- fix: Fix offering rune not working. (#262)

This commit is contained in:
Aviu00
2024-04-02 00:22:13 +09:00
committed by GitHub
parent 31f10903df
commit 67e7657f3c
2 changed files with 16 additions and 22 deletions

View File

@@ -90,7 +90,7 @@ public sealed class CultRuleSystem : GameRuleSystem<CultRuleComponent>
}
}
public MindComponent? GetTarget()
public Entity<MindComponent>? GetTarget()
{
var cultistsRule = EntityQuery<CultRuleComponent>().FirstOrDefault();
@@ -99,7 +99,7 @@ public sealed class CultRuleSystem : GameRuleSystem<CultRuleComponent>
return null;
}
return mind;
return (cultistsRule.CultTarget.Value, mind);
}
public bool CanSummonNarsie()