public new void SituationComplete() { var recipeById = (Recipe)compendium.GetRecipeById(SituationClock.RecipeId); var tabletopManager = (Frangiclave.Patches.Assets.CS.TabletopUI.TabletopManager)Registry.Retrieve <TabletopManager>(); tabletopManager.SetMap(Map.DefaultMapId.Equals(recipeById.MapId) ? null : recipeById.MapId); orig_SituationComplete(); }
public new void SituationComplete() { if (SendingAway) { Retire(); return; } var recipeById = (Recipe)compendium.GetRecipeById(SituationClock.RecipeId); var tabletopManager = Registry.Retrieve <ITabletopManager>() as TabletopManager; if (tabletopManager != null) { tabletopManager.SetMap(Map.DefaultMapId.Equals(recipeById.MapId) ? null : recipeById.MapId); } orig_SituationComplete(); }