mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 16:45:53 +00:00
Player detection for rooms
This commit is contained in:
parent
718c20c643
commit
1b31428752
7 changed files with 87 additions and 7 deletions
|
|
@ -34,6 +34,8 @@ public partial class Dead : EnemyStateBase
|
|||
|
||||
GameManager.Instance.AddMotivation(StorageModule.EnemyData.MotivationReward);
|
||||
|
||||
StorageModule.Root.TriggerDeath();
|
||||
|
||||
StorageModule.Root.QueueFree();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue