Финальные штрихи 2
This commit is contained in:
parent
c7f2417bb9
commit
dfd63f0f9c
5 changed files with 51 additions and 3 deletions
|
@ -228,6 +228,8 @@ public partial class Player : CharacterBody2D
|
|||
{
|
||||
if (@event.IsActionPressed("Interact"))
|
||||
{
|
||||
if (CurrentState == State.Transition) return;
|
||||
|
||||
if (InteractableObject is NPC npc)
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue