Door opening fix

This commit is contained in:
MaddoScientisto 2025-04-26 22:00:55 +02:00
commit 07d49a0b23
10 changed files with 41 additions and 36 deletions

View file

@ -44,7 +44,6 @@ public partial class Door : Activable
public virtual void Open()
{
if (State == DoorState.Open) return;
// _animatedSprite.Play("Opening");
State = DoorState.Open;
CallDeferred(MethodName.DeferredDisableCollision, true);
@ -56,7 +55,6 @@ public partial class Door : Activable
public virtual void Close()
{
if (State == DoorState.Closed) return;
// _animatedSprite.Play("Closing");
State = DoorState.Closed;
CallDeferred(MethodName.DeferredDisableCollision, false);