Skip to content

Commit

Permalink
fixed bug while dying in HUD Edit Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Taliayaya committed Jul 23, 2023
1 parent 132471e commit 452bbca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/InputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ private void OnRespawn()
private void OnDeath(object deathData)
{
_deathData = (DeathData) deathData;
if (_isEditingHUD)
OnEditHUD(null);
_playerInput.SwitchCurrentActionMap("Death");
}

Expand Down

0 comments on commit 452bbca

Please sign in to comment.