public static void Prefix(DropshipLocation state) { if (state != DropshipLocation.NAVIGATION) { MapModesUI.TurnMapModeOff(); } }
public static bool Prefix(ref bool __result) { if (MapModesUI.CurrentMapMode == null) { return(true); } // the return value in __result is if the esc was handled MapModesUI.TurnMapModeOff(); __result = true; return(false); }
public static void Prefix() { MapModesUI.TurnMapModeOff(); }