Финальные штрихи 2

This commit is contained in:
Евгений Титаренко 2024-08-25 21:31:26 +03:00
parent c7f2417bb9
commit dfd63f0f9c
5 changed files with 51 additions and 3 deletions

View file

@ -228,6 +228,8 @@ public partial class Player : CharacterBody2D
{
if (@event.IsActionPressed("Interact"))
{
if (CurrentState == State.Transition) return;
if (InteractableObject is NPC npc)
{