Beispiel #1
0
        private static void OnObjectPlacedInLot(object sender, EventArgs e)
        {
            var args = e as World.OnObjectPlacedInLotEventArgs;

            if (args != null)
            {
                var gameObject = NFinalizeDeath.GetObject_internalFast(args.ObjectId.mValue);
                if (gameObject is Computer || gameObject is CityHall)
                {
                    NFinalizeDeath.GO_AddInteraction(gameObject, NiecMod.Interactions.Objects.NRCODImmediateInteraction.Singleton, true);
                }
            }
        }