Portal fix
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user