mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 22:45:54 +00:00
Door opening fix
This commit is contained in:
parent
72436aa820
commit
07d49a0b23
10 changed files with 41 additions and 36 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue