Slightly rework death screen
This commit is contained in:
@@ -150,6 +150,7 @@ public partial class Player : CharacterBody3D, IPlayer
|
||||
PlayerLogic.Set(this as IPlayer);
|
||||
PlayerLogic.Set(Settings);
|
||||
PlayerLogic.Set(Stats);
|
||||
PlayerLogic.Set(_gameRepo);
|
||||
|
||||
var defaultWeapon = new Weapon();
|
||||
defaultWeapon.ItemStats = _defaultWeapon;
|
||||
@@ -387,7 +388,7 @@ public partial class Player : CharacterBody3D, IPlayer
|
||||
Stats.SetCurrentExp(newCurrentExp);
|
||||
}
|
||||
|
||||
public void Die() => PlayerLogic.Input(new PlayerLogic.Input.Killed());
|
||||
public void Die() => PlayerLogic.Input(new PlayerLogic.Input.Die());
|
||||
|
||||
public override void _UnhandledInput(InputEvent @event)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user