Skip to content

Commit b01238d

Browse files
committed
fix: must contain a non-null value
1 parent 69218eb commit b01238d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Player/Scripts/Player.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace DungeonRoyale.Modules.Player.Scripts;
33
public partial class Player : CharacterBody2D
44
{
55
[Export] private float MovementSpeed { get; set; } = 200.0f;
6-
private AnimatedSprite2D _animatedSprite;
6+
private AnimatedSprite2D _animatedSprite = null!;
77
private Direction _currentDirection = Direction.South;
88

99
private const float DIRECTION_THRESHOLD = 0.1f;

0 commit comments

Comments
 (0)