This commit is contained in:
RochesterX
2025-04-18 20:11:19 -04:00
parent a7e181a900
commit ce741c87d5
450 changed files with 59358 additions and 963 deletions

View File

@@ -117,6 +117,7 @@ namespace Game
/// <returns>An IEnumerator for coroutine execution.</returns>
private IEnumerator RespawnHat()
{
lastInteractionTime = Time.time;
// Play the respawn animation
GetComponentInChildren<Animator>().SetTrigger("respawn");
@@ -128,7 +129,6 @@ namespace Game
GetComponent<Rigidbody2D>().linearVelocity = Vector2.zero;
GetComponent<Rigidbody2D>().angularVelocity = 0f;
transform.rotation = Quaternion.identity;
lastInteractionTime = Time.time;
isDropped = false;
}
}