Skip to content

Commit

Permalink
Fix modified dungeons not getting loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
tech-ticks committed May 11, 2023
1 parent 7a97bb0 commit 3c5dd0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public DungeonModel GetDungeonById(DungeonIndex id, bool markAsDirty = true, boo
}
if (forceTemporaryFullLoad)
{

LoadedDungeons.Remove(id);
}
if (!LoadedDungeons.ContainsKey(id))
Expand All @@ -58,6 +57,7 @@ public DungeonModel GetDungeonById(DungeonIndex id, bool markAsDirty = true, boo

public void SetDungeon(DungeonIndex id, DungeonModel model)
{
DirtyDungeons.Add(id);
LoadedDungeons[id] = model;
}

Expand Down

0 comments on commit 3c5dd0f

Please sign in to comment.