feature/day_and_night #34

Merged
kziolkowski merged 16 commits from feature/day_and_night into develop 2025-12-04 22:34:17 +01:00
Showing only changes of commit 9f4cda0e6d - Show all commits
@@ -19,7 +19,13 @@ public partial class VesnaAnimations : Node
/// </summary>
[Signal] public delegate void LookDirectionEventHandler(Vector2 direction);
public override void _Ready()
public override void _EnterTree()
kziolkowski marked this conversation as resolved Outdated
Outdated
Review

Das sollte dann _EnterTree sein

Das sollte dann `_EnterTree` sein
{
// calling with a 1-frame delay to avoid race conditions.
CallDeferred(nameof(SetupSubscriptions));
}
private void SetupSubscriptions()
{
InventoryManager.Instance.playerInventory.InventoryContentsChanged += HandleNewItemInInventory;
}