mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 01:35:53 +00:00
Game state manager and restored inventory
This commit is contained in:
parent
f0f49f8fb4
commit
a0ec2f3d74
27 changed files with 1283 additions and 1175 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue