private void ReplaceCharacterSelection()
 {
     if (!((UnityEngine.Object)controller == (UnityEngine.Object)null))
     {
         controller.RemoveLast();
         SelectDeliverable();
     }
 }
Exemple #2
0
        public static void Prefix(CharacterSelectionController __instance, List <ITelepadDeliverable> ___selectedDeliverables, ref bool ___allowsReplacing)
        {
            __instance.RemoveLast();

            //var copy = new List<ITelepadDeliverable>(___selectedDeliverables);
            //foreach (var sub in copy)
            //    __instance.RemoveDeliverable(sub);

            //___selectedDeliverables.Clear();
        }