made you win waiting time shorter

feature/fight_system
cblech 6 months ago
parent e8850ca7c5
commit c0e002f783

@ -92,7 +92,7 @@ public partial class FightInstance : Node2D //TODO: remake
break; break;
case FightStateManager.FightState.PlayerWinAnim: case FightStateManager.FightState.PlayerWinAnim:
_fightEndText.Text = "You Win!"; _fightEndText.Text = "You Win!";
GetTree().CreateTimer(3).Timeout += () => _fightStateManager.CurrentFightState = FightStateManager.FightState.None; GetTree().CreateTimer(1.5).Timeout += () => _fightStateManager.CurrentFightState = FightStateManager.FightState.None;
break; break;
case FightStateManager.FightState.EnemyWinAnim: case FightStateManager.FightState.EnemyWinAnim:
_fightEndText.Text = "You Died :("; _fightEndText.Text = "You Died :(";

Loading…
Cancel
Save