Game state manager and restored inventory

This commit is contained in:
Marco 2025-06-25 15:36:50 +02:00
commit a0ec2f3d74
27 changed files with 1283 additions and 1175 deletions

View file

@ -27,10 +27,11 @@ public partial class ControlActorEvent : EventResource
if (_parent.GetNode<Node2D>(Target) is Actor enemy)
{
if (GameManager.Instance.ToggleControlMode() is GameState.Controlling)
{
enemy.AssumeControl();
}
// TODO: Restore control
// if (GameManager.Instance.ToggleControlMode() is GameState.Controlling)
// {
// enemy.AssumeControl();
// }
}
_isComplete = true;