summaryrefslogtreecommitdiff
path: root/scripts/entities/actors/Player.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/actors/Player.cs')
-rw-r--r--scripts/entities/actors/Player.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/entities/actors/Player.cs b/scripts/entities/actors/Player.cs
index d1c4c7f..71812e8 100644
--- a/scripts/entities/actors/Player.cs
+++ b/scripts/entities/actors/Player.cs
@@ -7,10 +7,12 @@ using System;
[GlobalClass]
public partial class Player : Actor
{
+ private PlayerDefinition definition;
public Inventory inventory;
public Player(Vector2I initialPosition, MapData map, PlayerDefinition definition) : base(initialPosition, map, definition)
{
+ this.definition = definition;
SetDefinition(definition);
}