Portal fix
This commit is contained in:
@@ -2022,13 +2022,13 @@ public sealed class DungeonHandler : IClientMessageHandler
|
||||
instance.Simulation.DroppedItems.Clear();
|
||||
|
||||
// Reset portals (exit portal should be inactive until boss killed)
|
||||
foreach (var portal in instance.Simulation.Portals.Values)
|
||||
{
|
||||
if (portal.Type == PortalType.Exit)
|
||||
{
|
||||
portal.IsActive = false;
|
||||
}
|
||||
}
|
||||
//foreach (var portal in instance.Simulation.Portals.Values)
|
||||
//{
|
||||
// if (portal.Type == PortalType.Exit)
|
||||
// {
|
||||
// portal.IsActive = false;
|
||||
// }
|
||||
//}
|
||||
|
||||
_log.LogDebug("Respawned {MobCount} mobs in dungeon {Id}", instance.Simulation.Mobs.Count, instance.Id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user