Possession handling

This commit is contained in:
MaddoScientisto 2025-02-23 22:38:33 +01:00
commit 31ffe6156e
9 changed files with 305 additions and 22 deletions

View file

@ -35,12 +35,9 @@ public partial class ActorDefeatScriptHandler : ActorModule
{
if (DefeatScript is not IActivable target)
{
GD.PrintErr($"Target {DefeatScript.Name} is not activable");
return;
}
target?.Activate();
GD.Print($"{DefeatScript.Name} activated");
}
}