player can work now
This commit is contained in:
@@ -2,11 +2,10 @@ using System;
|
||||
|
||||
public class Bed : BaseInteractableObject
|
||||
{
|
||||
private Player _player;
|
||||
|
||||
public override void Interact(Player player)
|
||||
{
|
||||
_player = player;
|
||||
base.Interact(player);
|
||||
_player.SetPlayerAnimation(AnimationStates.Sitting, OnAnimationFinished);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user