public GhostTeleporter() : base() { Name = "GhostTeleporter"; if (m_GhostRegion == null) { m_GhostRegion = new BaseRegion("DoomGhostTeleportRegion", Map.Malas, 55, m_GhostRegionBounds); m_GhostRegion.Register(); } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadEncodedInt(); if (m_GhostRegion == null) { m_GhostRegion = new BaseRegion("DoomGhostTeleportRegion", Map.Malas, 55, m_GhostRegionBounds); m_GhostRegion.Register(); } }