From 7419e7237c3c5b3f1184babfcd826b7f788b599a Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 25 Aug 2025 17:40:35 -0300 Subject: Organização. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/map/DungeonGenerator.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/map/DungeonGenerator.cs') diff --git a/scripts/map/DungeonGenerator.cs b/scripts/map/DungeonGenerator.cs index 0d94724..68bde06 100644 --- a/scripts/map/DungeonGenerator.cs +++ b/scripts/map/DungeonGenerator.cs @@ -50,7 +50,10 @@ public partial class DungeonGenerator : Node public MapData GenerateDungeon(Player player) { - MapData data = new MapData(width, height); + MapData data = new MapData(width, height, player); + + data.InsertActor(player); + player.Map_Data = data; MapDivision root = new MapDivision(0, 0, width, height); -- cgit v1.2.3