Portal fix

This commit is contained in:
dingo
2025-12-18 15:13:26 -05:00
parent 62d5469fd2
commit 351478fedb
+7 -7
View File
@@ -2022,13 +2022,13 @@ public sealed class DungeonHandler : IClientMessageHandler
instance.Simulation.DroppedItems.Clear(); instance.Simulation.DroppedItems.Clear();
// Reset portals (exit portal should be inactive until boss killed) // Reset portals (exit portal should be inactive until boss killed)
foreach (var portal in instance.Simulation.Portals.Values) //foreach (var portal in instance.Simulation.Portals.Values)
{ //{
if (portal.Type == PortalType.Exit) // if (portal.Type == PortalType.Exit)
{ // {
portal.IsActive = false; // portal.IsActive = false;
} // }
} //}
_log.LogDebug("Respawned {MobCount} mobs in dungeon {Id}", instance.Simulation.Mobs.Count, instance.Id); _log.LogDebug("Respawned {MobCount} mobs in dungeon {Id}", instance.Simulation.Mobs.Count, instance.Id);
} }