Esempio n. 1
0
 protected override void OnTick()
 {
     if ((i_item != null) && (!i_item.Deleted))
     {
         UnderworldGateway.CloseDoor(i_item);
         i_item.Delete();
     }
 }
Esempio n. 2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            UnderworldGateway.CloseDoor(this);
            this.Delete();             // none when the world starts
        }